Start or Stop an Animation

15 Auguest 2023

  • C12 - added the type parameter.

30 October 2018

  • C10 - the command will stop the animation if it was running when the command was issued.

6 October 2016

  • Release 9.133 - The command now can take a path instead of a name.

10 March 2015

  • Release 7.82 - fixed.
animation (Commands)
TypeCorrade progressive command
Commandanimation
DescriptionThe animation command can be used to either start or stop an animation.
Permissionsgrooming
Parametersgroup, password, item, action, type
Last ChangesRelease 9.133 - The command now can take a path instead of a name.

The animation command can be used to either start or stop an animation.

Command Required Parameters Required Corrade Permissions Example
animation group, password, item, action, type grooming
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // Start the animation in Corrade's
            // inventory named "Dance"
            "command", "animation",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "action", "start",
            "type", "inventory",
            // the path to an item in Corrade's inventory
            "item", "/My Inventory/Animations/Dance",
            "callback", wasURLEscape(URL)
        ]
    )
);
Parameter Possible Value Description
type inventory Start or stop an animation using an inventory path.
UUID Start or stop an animation using an UUID.