extends CharacterBody2D var angle: float = 0 func _ready(): $Body/Bottom.play("default") add_to_group("enemies") $Collision.init() $Collision.collision_area.set_collision_layer_value(Utilities.Collision.Layer.ENEMY, true) $Health.died.connect(func(): $Body.remove_child($Body/Top) ) func shrink(): $Body/Top.play_backwards("default") func expand(): $Body/Top.play("default")