Motion
Get Motion

ReferenceScripting APIMotionSceneget

MotionScene.get

method

A setting's value: what the script last set, or else what the scene started with. Not what keyframes, the sound or a move make it: see read.

Nameget
Kindmethod of MotionScene
Called asscene.get(…)
As a nodeGet Layer Setting (logic graph)
Since0.3

Syntax

get(    layer: string,    setting: string): SettingValue | undefined

Parameters

NameTypeDescription
layerstringThe layer's name or id
settingstringThe setting's key

Returns

SettingValue | undefined: the value, or undefined.

Example

const o = scene.get("Sun", "opacity");

See also

SettingValue