# Overlapping movieclips and rollovers

**URL:** <https://forum.kirupa.com/t/overlapping-movieclips-and-rollovers/275449>\
**Category:** Uncategorized\
**Created:** [November 13, 2008, 11:54pm UTC](https://forum.kirupa.com/t/overlapping-movieclips-and-rollovers/275449 "2008-11-13T23:54:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gstewart](https://avatars.discourse-cdn.com/v4/letter/g/87869e/32.png) [@gstewart](https://forum.kirupa.com/u/gstewart)\
**Post date:** [November 13, 2008, 11:54pm UTC](https://forum.kirupa.com/t/overlapping-movieclips-and-rollovers/275449/1 "2008-11-13T23:54:50Z")

</div>

I have a small movieclip (button) sitting on top of a larger movieclip. The larger movieclip has an onRollOver and onRollOut event attached to it. Unfortunately that gets fired as well when I move the cursor over the button movieclip which is not desired. Is there a way to ignore that small movieclip for the rollover / rollout events?

I tried a mouse position check, but that doesn’t work too well when you move the mouse very fast, even with increased framerates. There must be an easier way I think.

Any ideas?

G
