smashball/scenes/hit/hit.gd
2025-11-14 08:10:03 -03:00

11 lines
217 B
GDScript

extends Area2D
@onready var timer: Timer = $Timer
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
timer.connect("timeout", _despawn)
func _despawn() -> void:
queue_free()