What it does
animation.setGroupMask sets GroupMask on an animation object. It takes name and bones.
Signature
animation.setGroupMask(name, bones)Arguments
namebones
Example · generated
function start() { animation.setGroupMask('main', {});}animation.setGroupMask 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.