How to get the default animation of the sprite?

Hi, I need to get the texture of a sprite.

I try print(go.get(“sprite”, “texture0”)) and returns hash: [/_generated_68354473.texturec] , but this is not the default animation of the sprite.

How can I get it?

You can’t.

ok…

You could have a script property, read it and set it as animation.

1 Like