# Constrain Mouse on Slider Drag?

**URL:** <https://forum.kirupa.com/t/constrain-mouse-on-slider-drag/107033>\
**Category:** Uncategorized\
**Created:** [April 11, 2004, 4:04pm UTC](https://forum.kirupa.com/t/constrain-mouse-on-slider-drag/107033 "2004-04-11T16:04:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bodom78](https://avatars.discourse-cdn.com/v4/letter/b/aca169/32.png) [@Bodom78](https://forum.kirupa.com/u/Bodom78)\
**Post date:** [April 11, 2004, 4:04pm UTC](https://forum.kirupa.com/t/constrain-mouse-on-slider-drag/107033/1 "2004-04-11T16:04:40Z")

</div>

I have created the slider from the tutorial on this site. I was wondering if it is possible to constrain the mouse to the dragger object while the user is sliding it across the screen.

Cheers.
