extends StaticBody2D func _ready(): add_to_group("breakables") var collision_area = Utilities.Collision.Area.new(self, $CollisionShape2D, false) collision_area.connect("collided", Callable(self, "_collide")) add_child(collision_area) func hit_by_explosion(): #$AnimationPlayer.play("breaking") #await $AnimationPlayer.animation_finished queue_free()