Node1.gd 228 B

12345678
  1. extends Node
  2. @onready var parent_node: Node2D = $".."
  3. @onready var sibling_node2: Node = $"../node2"
  4. # Called when the node enters the scene tree for the first time.
  5. func _ready() -> void:
  6. pass # Replace with function body.