lndsld

Home > @lndsld/math > moveToTarget

moveToTarget() function

Signature:

declare function moveToTarget(targetValue: number): (speed: number) => Transform<number>;

Parameters

Parameter Type Description
targetValue number  

Returns:

(speed: number) => Transform<number>