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