State machine for control of animations. Contains multiple nodes representing animation states, connected in a graph. Nodes transitions can be configured to happen automatically or via code, using a shortest-path algorithm. Retrieve the AnimationNodeStateMachinePlayback object from the [code]AnimationTree[/code] node to control it programatically. Example: [codeblock] var state_machine = $AnimationTree.get("parameters/playback") state_machine.travel("some_state") [/codeblock] Adds a new node to the graph. The [code]position[/code] is used for display in the editor. Adds a transition between the given nodes. Returns the graph's end node. Returns the draw offset of the graph. Used for display in the editor. Returns the animation node with the given name. Returns the given animation node's name. Returns the given node's coordinates. Used for display in the editor. Returns the graph's end node. Returns the given transition. Returns the number of connections in the graph. Returns the given transition's start node. Returns the given transition's end node. Returns [code]true[/code] if the graph contains the given node. Returns [code]true[/code] if there is a transition between the given nodes. Deletes the given node from the graph. Deletes the given transition. Deletes the given transition. Renames the given node. Sets the given node as the graph end point. Sets the draw offset of the graph. Used for display in the editor. Sets the node's coordinates. Used for display in the editor. Sets the given node as the graph start point.