0 votes

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.isactionjustpressed("uilmb"):
print("mousebuttonpressed")

Godot version 3.3.2
in Engine by (32 points)

1 Answer

+2 votes

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.

by (8,526 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.