Function: makeScrubbable()
makeScrubbable(
decimal,scene,options?):Scrubbable
Defined in: src/interaction/Scrubbable.ts:275
Make a DecimalNumber scrubbable: drag it to change its value.
Parameters
decimal
The number to scrub (also works for Integer).
scene
The scene that displays the number.
options?
Direction, step, sensitivity, bounds and callbacks.
Returns
The Scrubbable behavior. Call dispose() to remove it.