ReferenceScripting APIMotionColoursaturate
MotionColour.saturate
methodMore colourful, or greyer.
| Name | saturate |
|---|---|
| Kind | method of MotionColour |
| Called as | colour.saturate(…) |
| As a node | Saturate Colour (logic graph) |
| Since | 0.4 |
Syntax
saturate( c: string, k: number): stringParameters
| Name | Type | Description |
|---|---|---|
c | string | The colour |
k | number | 1 (grey) up: 1 twice as colourful |
Returns
string: the colour.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.