extends Node2D func handle_change_score(change: int): $Score.text = "Score: " + str(int($Score.text) + change) print("Score changed.")