1 2 3 4 5 6 7 8 9 10 11
class_name PathNode extends Node2D @export var next_node: Node2D var path_position: Vector2 func _ready(): path_position = $PathPosition.global_position