How do you steal mouse input using a TouchScreenButton?

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

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?

:bust_in_silhouette: Reply From: exuin

Why not stick a control node on the touchscreenbutton?

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

YangTegap | 2022-06-01 01:55

You can put a click mask on a texture button

exuin | 2022-06-01 02:34