What it does
animation.stop acts on animation: it stops. It takes meshId.
Signature
animation.stop(meshId)Arguments
meshId
Example · generated
function start() { animation.create('main', 'position', 30, 'float'); animation.stop('main');}animation.create is there to give the call something to act on; animation.stop is the line that matters. The code sits in start(), which the engine calls once, when the entity spawns.