summaryrefslogtreecommitdiff
path: root/PathNode.gd
diff options
context:
space:
mode:
Diffstat (limited to 'PathNode.gd')
-rw-r--r--PathNode.gd4
1 files changed, 4 insertions, 0 deletions
diff --git a/PathNode.gd b/PathNode.gd
index afbf6eb..848c7b3 100644
--- a/PathNode.gd
+++ b/PathNode.gd
@@ -3,3 +3,7 @@ extends Node2D
@export var next_node: Node2D
+
+var path_position: Vector2:
+ get():
+ return $PathPosition.global_position