Update a control app's animation state

Update control app animation state

PATCH https://app.singular.live/apiv2/controlapps/:appToken/control

Animates an overlay to its In or Out state.

Path Parameters

Name
Type
Description

appToken*

String

Request Body

Name
Type
Description

subCompositionId*

String

state*

String

Animates an overlay to its In or Out state.

Supported values: In, Out1, Out2

subCompositionName*

String

{
    "success": true
}

Example request bodies by sub-composition name or ID

[
    {
        "subCompositionName": "<subCompositionName>",
        "state": "<toState>"
    }
]

Animation state

Animation state
Description

In

Sends an overlay to its In state.

Out

Sends an overlay to its Out state. This is the default Out animation.

Out1

When there are multiple timelines, Out1 animates an overlay Out in reverse of the In animation.

Out2

When there are multiple timelines, Out2 defines an independent Out animation.

Last updated