ReferenceScripting APIMotionColourlighten
MotionColour.lighten
methodToward white or black.
| Name | lighten |
|---|---|
| Kind | method of MotionColour |
| Called as | colour.lighten(…) |
| As a node | Lighten Colour (logic graph) |
| Since | 0.4 |
Syntax
lighten( c: string, k: number): stringParameters
| Name | Type | Description |
|---|---|---|
c | string | The colour |
k | number | 1 (black) to 1 (white) |
Returns
string: the colour.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.