Skip to content

setDuration()

Change how long the ramp takes.

linearramp.setDuration(delay)

Parameters

linearramp.setDuration(delay)
Parameter Type Default Description
delay int or float required The new length for the ramp, in milliseconds.