ReferenceScript nodesMath › Curves
Sample Gradient
The gradient's colour at x, 0 to 1.
ƒSample Gradient
TargetResult
In Time0.5
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
Targetgradient | gradient | – | – |
In Timex | number | 0.5 | – |
Outputs
| Pin | Type |
|---|---|
Resultcolour | colour and alpha |
In a graph
◆On Scene Start
ƒSample Gradient
TargetResult
In Time0.5
ƒPrint
In Text
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.