views:

67

answers:

1

I have a Sprite I want to use as a debug layer. So I would like to overlay this layer over the normal scene and draw to it.

This is fine except for that it blocks all MouseEvents from the layers below.

Is there a way I can set an InteractiveObject to allow MouseEvent objects to "pass through" and onto the InteractiveObjects below?

+4  A: 

Try sprite.mouseEnabled = false

Just incase that doesn't work try adding sprite.mouseChildren = false too

Richie_W
yeah the mouseChildren is only required if there are any other display objects inside the sprite.
Allan
This is correct - just make sure you use "mouseEnabled" (lowercase M), not "MouseEnabled"
Reuben