To change the weapon being held,
I want to switch the animation sprite sheet using a variable,
but even when selecting AnimatedSprite2D for the property change in VS,
there is no “animation” item, so I cannot make the change.
Creating a new animation adds more items, making management difficult,
so since I only want to change the appearance, I just want to change the sheet,
(ideally, something like changing the asset set in MV).
There is a feature to change the sprite of the functional object when changing the asset set, but it does not support AnimatedSprite2D. We will submit this as a separate request to the development team. (However, as you pointed out, AnimatedSprite2D does not directly hold sprite data but uses a special data type called SpriteFrame, so whether it can be supported will only be clear after discussing with the development team.)
Regarding your goal of changing the equipped weapon, how about creating a separate child object that contains only the visual representation of the weapon?
Thank you for your response.
I will consider handling it separately with a child object.
I also appreciate you sharing your request.