Animation sprite UI

Hello. I want to insert an animated sprite into the UI, but the image component does not allow you to include animation. It is possible to change the frame, and I can write a frame change in the code, but perhaps there is an opportunity to turn on the animation automatically.

We have a feature request here: Add support for animated sprites in UI · Issue #2453 · playcanvas/engine · GitHub

Currently, you will have to change the frame in code for the animation in UI.

1 Like

And another alternative is to use an animated texture on a material:

https://developer.playcanvas.com/en/tutorials/animated-textures/

1 Like