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 (31 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 (7,190 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 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 webmaster@godotengine.org with your username.