SpritesheetAnimator.setDrawPriority - HermesPasser/Ramu GitHub Wiki

SpritesheetAnimator.setDrawPriority()

Parameters

int integer: Value of canDraw of its animations.

Description

Set the drawPriority of the animations.

You can test this snippet of code here.

let animator = new SpritesheetAnimator(10, 10, 35, 35);
animator.setCanDraw(false);