What it does
animation.createMask creates a Mask in animation. It takes bones.
Signature
animation.createMask(bones)Arguments
bones
Example · generated
function start() { animation.createMask({});}animation.createMask is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.