extends MovingState func should_enter(input: InputPacket) -> String: if animation_finished: input.player_actions.append("GunShoot") input.player_actions.sort_custom(states_priority_sort) return input.player_actions[0] return name