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