Motion
Get Motion

ReferenceScripting APIMotionColoursaturate

MotionColour.saturate

method

More colourful, or greyer.

Namesaturate
Kindmethod of MotionColour
Called ascolour.saturate(…)
As a nodeSaturate Colour (logic graph)
Since0.4

Syntax

saturate(    c: string,    k: number): string

Parameters

NameTypeDescription
cstringThe colour
knumber1 (grey) up: 1 twice as colourful

Returns

string: the colour.