extends Node2D var score = 0 func _on_player_hit_ball(): score += 1 $HUD.update_score(score)