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

NameTypeDescription

appToken*

String

Request Body

NameTypeDescription

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 stateDescription

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