setTo

open fun setTo(position: Double): Task

Set a custom position that is clipped between the closed and open bounds.

Return

a task to perform this action

Parameters

position

the position to set to, clipped between open and close