Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | AliAdel |
When I tried using the touch screen event for my game it worked well but it detects the buttons too how could I stop that
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | AliAdel |
When I tried using the touch screen event for my game it worked well but it detects the buttons too how could I stop that
Reply From: | kurtsev0103 |
If I understand you correctly, try something like this:
func _input(event):
if event is InputEventScreenTouch:
print("TODO")