# Constrain mouse to small area on stage?

**URL:** <https://forum.kirupa.com/t/constrain-mouse-to-small-area-on-stage/15411>\
**Category:** Uncategorized\
**Created:** [March 13, 2003, 9:34pm UTC](https://forum.kirupa.com/t/constrain-mouse-to-small-area-on-stage/15411 "2003-03-13T21:34:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![peace\_sells](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@peace\_sells](https://forum.kirupa.com/u/peace_sells)\
**Post date:** [March 13, 2003, 9:34pm UTC](https://forum.kirupa.com/t/constrain-mouse-to-small-area-on-stage/15411/1 "2003-03-13T21:34:55Z")

</div>

Does n e 1 hav an idea how i can constrain the movement of the default mouse pointer to a certain area on the stage? Is it possible?

Cheers.:hair:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 13, 2003, 11:33pm UTC](https://forum.kirupa.com/t/constrain-mouse-to-small-area-on-stage/15411/2 "2003-03-13T23:33:02Z")

</div>

I don’t think it’s possible to restrain the default pointer. People like to be able to move their mouse on the screen anyway. You’d be able to create a cursor Movie Clip that follows the default x and y of the mouse and restrict that to an area on the stage (hiding the default cursor).  
Theres a good tut on this site:  
[http://www.kirupa.com/developer/flash5/follow.htm](http://www.kirupa.com/developer/flash5/follow.htm)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 14, 2003, 10:31am UTC](https://forum.kirupa.com/t/constrain-mouse-to-small-area-on-stage/15411/3 "2003-03-14T10:31:29Z")

</div>

Ok cheers. What i have is a pop up window which i wanted the user to click on much like an alert box, with out being able to click on the other elemets on the stage.

Ill take alook at that tutorial and c if it will do the job.
