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)
godot swipe detector
Homepage Repository npm GDScript Download
npm install @bendn/swipe-detector@1.1.0