{
    "format_version": "1.10.0",
    "animation_controllers": {
        "controller.animation.player_flight_commands": {
            "states": {
                "default": {
                    "transitions": [
                        {
                            "loop_back": "query.is_riding"
                        }
                    ],
                    "on_entry": [
                        "/tag @s remove driver"
                    ]
                },
                "loop": {
                    "transitions": [
                        {
                            "loop_back": "query.is_riding"
                        },
                        {
                            "default": "!query.is_riding"
                        }
                    ]
                },
                "loop_back": {
                    "on_entry": [
                        "/function helicopter/player"
                    ],
                    "transitions": [
                        {
                            "loop": "1.0"
                        }
                    ]
                }
            }
        }
    }
}