class_name Spawn extends Node2D @export var next_node: Node2D var spawn_position: Vector2 func _ready(): spawn_position = $SpawnPosition.global_position func get_rpc_properties(): return { "global_position": null, "spawn_position": null, "next_node": "res://Stages/Paths/PathNode.tscn", }