Gládio Cítrico

Ramu 0.7b doc

doc homeRamu

string SpritesheetAnimator.getCurrentAnimationID()

Description

Get the ID of current animation.

You can test this snippet of code here.

let animator = new SpritesheetAnimator(10, 10, 35, 35);
animator.setCurrentAnimation('anim1');
console.log(animator.getCurrentAnimationID());