AnimatedSprite2D

Inherits: Node2D < CanvasItem < Node < Object

There is currently no description for this class. Please help us by contributing one!

Properties

StringName

animation

&"default"

String

autoplay

""

bool

centered

true

bool

flip_h

false

bool

flip_v

false

int

frame

0

float

frame_progress

0.0

Vector2

offset

Vector2(0, 0)

float

speed_scale

1.0

SpriteFrames

sprite_frames

Methods

float

get_playing_speed ( ) const

bool

is_playing ( ) const

void

pause ( )

void

play ( StringName name=&””, float custom_speed=1.0, bool from_end=false )

void

play_backwards ( StringName name=&”” )

void

set_frame_and_progress ( int frame, float progress )

void

stop ( )


Signals

animation_changed ( )

There is currently no description for this signal. Please help us by contributing one!


animation_finished ( )

There is currently no description for this signal. Please help us by contributing one!


animation_looped ( )

There is currently no description for this signal. Please help us by contributing one!


frame_changed ( )

There is currently no description for this signal. Please help us by contributing one!


sprite_frames_changed ( )

There is currently no description for this signal. Please help us by contributing one!


Property Descriptions

StringName animation = &"default"

There is currently no description for this property. Please help us by contributing one!


String autoplay = ""

  • void set_autoplay ( String value )

  • String get_autoplay ( )

There is currently no description for this property. Please help us by contributing one!


bool centered = true

  • void set_centered ( bool value )

  • bool is_centered ( )

There is currently no description for this property. Please help us by contributing one!


bool flip_h = false

  • void set_flip_h ( bool value )

  • bool is_flipped_h ( )

There is currently no description for this property. Please help us by contributing one!


bool flip_v = false

  • void set_flip_v ( bool value )

  • bool is_flipped_v ( )

There is currently no description for this property. Please help us by contributing one!


int frame = 0

  • void set_frame ( int value )

  • int get_frame ( )

There is currently no description for this property. Please help us by contributing one!


float frame_progress = 0.0

  • void set_frame_progress ( float value )

  • float get_frame_progress ( )

There is currently no description for this property. Please help us by contributing one!


Vector2 offset = Vector2(0, 0)

There is currently no description for this property. Please help us by contributing one!


float speed_scale = 1.0

  • void set_speed_scale ( float value )

  • float get_speed_scale ( )

There is currently no description for this property. Please help us by contributing one!


SpriteFrames sprite_frames

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

float get_playing_speed ( ) const

There is currently no description for this method. Please help us by contributing one!


bool is_playing ( ) const

There is currently no description for this method. Please help us by contributing one!


void pause ( )

There is currently no description for this method. Please help us by contributing one!


void play ( StringName name=&””, float custom_speed=1.0, bool from_end=false )

There is currently no description for this method. Please help us by contributing one!


void play_backwards ( StringName name=&”” )

There is currently no description for this method. Please help us by contributing one!


void set_frame_and_progress ( int frame, float progress )

There is currently no description for this method. Please help us by contributing one!


void stop ( )

There is currently no description for this method. Please help us by contributing one!