aboutsummaryrefslogtreecommitdiffstats
path: root/Scripts/scene_control.gd
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2023-07-08 01:38:26 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2023-07-08 01:38:26 +0100
commit9ab7bc4c1e8bb266de9f100213e4036b1cd83c11 (patch)
treef658c8c25ddb6d740d1f8778fbec95c504588e25 /Scripts/scene_control.gd
parent88e3751834af72c413afa25a7c17a5994f570bfb (diff)
download2023-base-car-behaviour.tar.gz
2023-base-car-behaviour.tar.bz2
2023-base-car-behaviour.zip
why does this work gdscript HELLO?base-car-behaviour
Diffstat (limited to 'Scripts/scene_control.gd')
-rw-r--r--Scripts/scene_control.gd3
1 files changed, 2 insertions, 1 deletions
diff --git a/Scripts/scene_control.gd b/Scripts/scene_control.gd
index 99bc3a2..9f231e0 100644
--- a/Scripts/scene_control.gd
+++ b/Scripts/scene_control.gd
@@ -3,7 +3,8 @@ extends Node
class_name SceneControl
@onready var path : Path2D = $Path2D
-@onready var path_follow : PathFollow2D = $Path2D/PathFollow2D
+
+@on#ready var path_follow : PathFollow2D = $Path2D/PathFollow2D
func get_path_direction(pos):