princess.gd 109 B

123456
  1. extends Node
  2. func _on_body_entered(body: Node2D) -> void:
  3. if body.name == "Player":
  4. $"../WinText".show()