Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Ryo Saeba |
For example:
func _unhandled_input( event ):
if( event.index == 0 ):
if( event.type == InputEvent.SCREEN_TOUCH ):
if( event.pressed ):
# DO STUFF
return true
elif( event.type == InputEvent.SCREEN_DRAG ): )
# DO STUFF
return true
# If it got here, no event got processed, pass it on ??
Or does Godot “knows” when an event gets processed automatically? Am I on the right track?