Skip to main content
PietervDoorn
Participant
10月 13, 2022 6:18 午後 UTC
解決済み

How to turn a layer 'passive', so you can click through to underlying symbols?

I'm using an overlay on top of my Adobe Animate Project, to use as a Camera Hud. It's a full screen symbol, but I need to access the symbols underneath. The 'Camera Hud' is semi transparant, so I can see my symbols lying underneath, but I can't click them. Is there a way to show the layer, but make the objects underneath accessible? Love to hear from someone! 

このトピックへの返信は締め切られました。
Colin Holgate
Colin Holgate解決!
Inspiring
10月 14, 2022 1:57 午後 UTC

I think that kglad thought you meant while editing on the stage (that's what I thought at first as well). If you are using ActionScript, and the HUD is named 'hud', this would do what you want:

hud.mouseEnabled = false;

返信数 3

kglad
Community Expert
Community Expert
10月 13, 2022 6:23 午後 UTC

lock the camera hud layer.

翻訳
PietervDoorn
PietervDoorn作成者
Participant
10月 13, 2022 9:41 午後 UTC

This doesn't seem to work. The overlay-layer is still playing on top of everything, (as it should), but I can't click any symbols or movieclips underneath this layer. 

翻訳
Colin Holgate
Colin Holgate解決!
Inspiring
10月 14, 2022 1:57 午後 UTC

I think that kglad thought you meant while editing on the stage (that's what I thought at first as well). If you are using ActionScript, and the HUD is named 'hud', this would do what you want:

hud.mouseEnabled = false;
翻訳