Motion
Get Motion

ReferenceScripting APIBodyComponentset

BodyComponent.set

method

Changes one of its layer's settings.

Nameset
Kindmethod of BodyComponent
Called asbodyComponent.set(…)
Since0.3

Syntax

set(    key: string,    value: SettingValue): void

Parameters

NameTypeDescription
keystringThe setting
valueSettingValueIts new value

Returns

Nothing.

See also

SettingValue