Can I load a texture sheet to an animated sprite 3d in code?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Macryc

Hiya.

I have an animatedSprite3D node with a bunch of animations using a sprite sheet.
I want to change the sprite sheet at runtime so as to make the character look a little different. It would be the same sheet in terms of layout but with slightly different clothes/props/etc.
The easiest way to change the look would be to replace the sprite sheet at runtime whilst retaining the animations and how they’re referenced in the code etc etc.

But, is that posiible?