[SOLVED] Getting Current Sprite Clip

How would I get the name of the current sprite clip that is being played?

I believe that would be “this.entity.sprite.currentClip”, however I don’t use sprites very often. The documentation is here if that doesn’t help: https://developer.playcanvas.com/en/api/pc.SpriteComponent.html

2 Likes