ReferenceScripting APIMotionLayerread
MotionLayer.read
methodOne of this layer's settings as it was last drawn: its keyframes, the sound and the script's moves in.
| Name | read |
|---|---|
| Kind | method of MotionLayer |
| Called as | scene.layer(…).read(…) |
| As a node | Get Live Layer Setting (logic graph) |
| Since | 0.4 |
Syntax
read(setting: string): SettingValue | undefinedParameters
| Name | Type | Description |
|---|---|---|
setting | string | The setting's key |
Returns
SettingValue | undefined: the value as last drawn.
Remarks
Live from the turn after it's first read; until then (and for a hidden layer that isn't drawn) what get gives.
See also
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.