0 votes

Where a touch screen button isn't a control node, it doesn't block input from passing the layers. I've got a node before the button that watches for touch input, but when I press the touch button it still passes through to the node below. How can I stop that like stopping mouse input with control nodes?

Godot version 3.4.2
in Engine by (93 points)

1 Answer

0 votes

Why not stick a control node on the touchscreenbutton?

by (8,528 points)

My buttons are circular. Is there a way to make a control node circular, or only block input in a circular range?

You can put a click mask on a texture button

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.