======Play Group Animation====== ---- Plays an [[animation]] for all [[entity|entities]] in the specified [[groups|group]]. The [[animation]] will be triggered for every [[entity]] simultaneously. ====Signature:==== play_group_animation(group_name, animation_name) ^Argument^Description^Type^Required^ |group_name|[[groups|Group]] of [[entity|entities]] for which to trigger the [[animation]].|[[String]]|Yes| |animation_name|Name of the [[animation]] to play (as defined in the [[Voxel Editor]]).|[[String]]|Yes| ====Example:==== play_group_animation("tree_group_01", "color_change"); //Results:// Triggers the [[animation]] named "color_change" for all [[entity|entities]] in the [[groups|group]] named "tree_group_01". Use the **Play Group Animation** function to change the appearance of multiple [[tile|tiles]], [[object|objects]], or [[character|characters]] all at once, for example to raise spikes from a room full of trap [[tile|tiles]] or to trigger a crowd of [[NPC|NPCs]] to start cheering. ---- ====Editor Node:==== {{:play_group_animation_node.png?nolink|}} ====Visual Demo:==== {{:play_group_animation_demo.gif?nolink|}} ~~NOTOC~~