extends Area2D # Attach this to an object to make it destructible func destroy(): get_parent().queue_free()