Skip to content

getCurrentValue()

Return the ramp's current value.

Parameters

Once an object linearramp has been created, you can use the following function:

linearramp.getCurrentValue()

Returns

return value

Value Type Description
value int or float The value right now, somewhere between the start and the target.