swipe detector
Diffstat (limited to 'Test.gd')
-rw-r--r--Test.gd2
1 files changed, 2 insertions, 0 deletions
diff --git a/Test.gd b/Test.gd
index fd0a3a6..597e41b 100644
--- a/Test.gd
+++ b/Test.gd
@@ -8,3 +8,5 @@ func _ready():
func _input(event):
if event is InputEventSwipe:
print(event.direction)
+ print(event.start_position)
+ print(event.end_position)