Motion
Get Motion

ReferenceScripting APIMotionEffectset

MotionEffect.set

method

Changes one of its settings at once.

Nameset
Kindmethod of MotionEffect
Called aseffect.set(…)
As a nodeSet Effect Setting (logic graph)
Since0.4

Syntax

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

Parameters

NameTypeDescription
keystringIts setting's key, as the effect has it ("radius")
valueSettingValueIts new value

Returns

Nothing.

Remarks

An effect that isn't there does nothing (the console said so once when it was asked for).

See also

SettingValue