swipe detector
-rw-r--r--
168
d---------
-rw-r--r--
71
-rw-r--r--
1062
-rw-r--r--
747
-rw-r--r--
139
-rw-r--r--
147
d---------
-rw-r--r--
475
-rw-r--r--
812
README.md
godot swipe detector
A script to detect directional swipes on the screen.
Usage example
func _ready():
add_child(SwipeDetector.new())
func _input(event):
if event is InputEventSwipe:
print(event.direction)