Move Camera2D but not GUI or How click through CanvasLayer

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By fhgaha

I nad a map with clickable regions and moving Camera2D and GUI. Then I wanted to make my camera move and GUI not to. I put GUI nodes on CanvasLayer and now regions do not detect my mouse buttons, I checked with
func _process(_delta):
if Input.is_action_just_pressed(“ui_lmb”):

:bust_in_silhouette: Reply From: exuin

Use the debugger’s “Misc” to check whatever Control node is eating the input. Set its mouse filter property to “ignore” or “pass”. Depending on your layout you may have to set the property for multiple control nodes.