AnimationNodeStateMachineTransitionAdvanceCondition Property |
Turn on auto advance when this condition is set. The provided name will become a boolean parameter on the AnimationTree that can be controlled from code (see ). For example, if TreeRoot is an AnimationNodeStateMachine and AdvanceCondition is set to "idle":
$animation_tree["parameters/conditions/idle"] = is_on_floor and (linear_velocity.x == 0)
Namespace: Godot