As per the docs, var anim = scene.anims.get(key).
How do I go about playing the animation then? I tried anim.play(key, children) but I get anim.play is not a function.
As per the docs, var anim = scene.anims.get(key).
How do I go about playing the animation then? I tried anim.play(key, children) but I get anim.play is not a function.
Use sprite game object to play frame animation, see these official demos