# Conditional scrolling of infinite menu

**URL:** <https://forum.kirupa.com/t/conditional-scrolling-of-infinite-menu/123422>\
**Category:** Uncategorized\
**Created:** [September 23, 2004, 1:48pm UTC](https://forum.kirupa.com/t/conditional-scrolling-of-infinite-menu/123422 "2004-09-23T13:48:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JP\_West](https://avatars.discourse-cdn.com/v4/letter/j/ac8455/32.png) [@JP\_West](https://forum.kirupa.com/u/JP_West)\
**Post date:** [September 23, 2004, 1:48pm UTC](https://forum.kirupa.com/t/conditional-scrolling-of-infinite-menu/123422/1 "2004-09-23T13:48:41Z")

</div>

Can I make the scrolling of the infinite menu conditional on the y position of the mouse cursor?

I have fiddled with if functions to no avail, I only want the menu to move when the mouse is positioned within its borders: eg. not elsewhere on the page.
