i need to switch the texture animation of a sprite on and off with a button press.
Simply , offstate is fully transparent and on is the texture as needed.
As long as the this is a plane with an animated texture all works flawlessly,
but when i change the plane to a sprite its broken.
You adress objects as an example as
For sound this is.
For a texture :
And i think a sprite will have also a hexnumber to adress it
Is there anyone who knows this?
Anyhow ascript like this won't work for a sprite but will for a plane.