GML About the draw_skeleton_time

Andrey

Member
Hi there!
I have a question about the draw_skeleton_time function
I can't understand why the animation works if:

Code:
sprite_index = my_sprite;
draw_skeleton_time(sprite_index....
but the animation doesn't work if

Code:
my_variable = my_sprite;
draw_skeleton_time(my_variable....
It's weird... Because the index of the sprite is correct in both cases.
 
Top