Copy link to clipboard
Copied
In my project I have the need to fade up a play symbol over a square box. I am using an event listener for this, and am testing for mouse over the square box. The issue is that when the play symbol becomes visible over the square, it in effect means that the mouse is now over another region and starts the onRollOut code.
How can I test for an object region and not have it affected by what is overlayed above it?
Copy link to clipboard
Copied
playButton.mouseEnabled = false;
Should work
Copy link to clipboard
Copied
playButton.mouseEnabled = false;
playButton.mouseChildren = false;