$.loadAnimation( x, y, filepaths)

Queues an animation to be loaded and returns an animationWrapper entity

  • x : number //
  • y : number //
  • filepaths : string //

Examples

const example = $.loadAnimation(
  20,
  20,
  "./images/3.png",
  "./images/4.png",
  "./images/5.png",
);