# hitTest on stage

**URL:** <https://forum.kirupa.com/t/hittest-on-stage/229806>\
**Category:** Uncategorized\
**Created:** [June 20, 2007, 11:34am UTC](https://forum.kirupa.com/t/hittest-on-stage/229806 "2007-06-20T11:34:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chesso](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Chesso](https://forum.kirupa.com/u/Chesso)\
**Post date:** [June 20, 2007, 11:34am UTC](https://forum.kirupa.com/t/hittest-on-stage/229806/1 "2007-06-20T11:34:20Z")

</div>

Is there an easy way I can hitTest using mousex and mousey on the stage, disregarding any objects on the stage (so it does not register if the user fires an onMouseDown event if it’s over a movieclip for example).

I tried using a plain \_root.hitTest and this.hitTest (in actionscript for the game frame), but it still registers all over the stage including over movieclips etc.
