Motion
Get Motion

ReferenceScripting APIMotionSceneread

MotionScene.read

method

A setting as it was last drawn: its keyframes, the sound and moves in.

Nameread
Kindmethod of MotionScene
Called asscene.read(…)
As a nodeGet Live Layer Setting (logic graph)
Since0.4

Syntax

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

Parameters

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

Returns

SettingValue | undefined: the value as last drawn.

Remarks

Live from the turn after it's first read; until then what get gives. 64 settings read at most.

Example

const x = scene.read("Cloud", "x");

See also

SettingValue