# HitTest For Movie Clips

**URL:** <https://forum.kirupa.com/t/hittest-for-movie-clips/222667>\
**Category:** flash\
**Created:** [April 16, 2007, 12:42am UTC](https://forum.kirupa.com/t/hittest-for-movie-clips/222667 "2007-04-16T00:42:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xFlashStudentx](https://avatars.discourse-cdn.com/v4/letter/x/57b2e6/32.png) [@xFlashStudentx](https://forum.kirupa.com/u/xFlashStudentx)\
**Post date:** [April 16, 2007, 12:42am UTC](https://forum.kirupa.com/t/hittest-for-movie-clips/222667/1 "2007-04-16T00:42:18Z")

</div>

I’m looking for the HitTest the code that detects when the mouse is not over two movie clips. For example, I have two movie clips which are buttons. When the mouse is not over any of them, I want a function to run…I know how to write the functions, but need aid with the hittest method to determine when the xmouse and ymouse is not over particular movie clips.

thank you

xFlashStudentx
