Motion
Get Motion

ReferenceScripting APIMotionColourmix

MotionColour.mix

method

Between two colours, t of the way.

Namemix
Kindmethod of MotionColour
Called ascolour.mix(…)
As a nodeLerp Colour (logic graph)
Since0.4

Syntax

mix(    a: string,    b: string,    t: number): string

Parameters

NameTypeDescription
astringFrom
bstringTo
tnumber0 to 1

Returns

string: the colour.