2D sprite node in 3D world, that can use multiple 2D textures for animation. Animations are created using a [SpriteFrames] resource, which can be configured in the editor via the SpriteFrames panel. Return the name of the current animation set to the node. Return the visible frame index. Get the [SpriteFrames] resource, which contains all frames. Return true if an animation if currently being played. Play the animation set in parameter. If no parameter is provided, the current animation is played. Set the current animation of the node and reinits the frame counter of the animation. Set the visible sprite frame index (from the list of frames inside the [SpriteFrames] resource). Set the [SpriteFrames] resource, which contains all frames. Stop the current animation (does not reset the frame counter). The current animation from the [code]frames[/code] resource. If this value changes, the [code]frame[/code] counter is reset. The displayed animation frame's index. The [SpriteFrames] resource containing the animation(s). If [code]true[/code] the [member animation] is currently playing. Emitted when [member frame] changed.