# Rollover event issue

**URL:** <https://forum.kirupa.com/t/rollover-event-issue/120704>\
**Category:** Uncategorized\
**Created:** [August 26, 2004, 6:08pm UTC](https://forum.kirupa.com/t/rollover-event-issue/120704 "2004-08-26T18:08:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dustin\_c1](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@dustin\_c1](https://forum.kirupa.com/u/dustin_c1)\
**Post date:** [August 26, 2004, 6:08pm UTC](https://forum.kirupa.com/t/rollover-event-issue/120704/1 "2004-08-26T18:08:28Z")

</div>

I have two movieclips. Let’s call them [color=darkorange]mc\_1[/color] and [color=darkorange]mc\_2[/color].

In the timeline, [color=darkorange]mc\_2[/color] has a higher depth value than [color=darkorange]mc\_1[/color], meaning that [color=darkorange]mc\_2[/color] covers part of [color=darkorange]mc\_1[/color].

[color=darkorange]mc\_1[/color] has [color=darkorange]onRollOver[/color] [color=black]defined[/color] for it. It animates when the mouse rolls over it. [color=darkorange]mc\_2[/color] has an alpha value of less than 100, making it semi transparent. My problem is when I roll the mouse cursor over [color=darkorange]mc\_2[/color], I trigger [color=darkorange]mc\_1.onRollOver[/color] and can see the animation through the semi-transparency of [color=darkorange]mc\_2[/color].

Is there a way to prevent [color=darkorange]mc\_1.onRollOver[/color] from receiving an event when there is a movieclip object that has a higher depth value blocking it?
