Figure following mouse XY:

x = spring(0.500, 0.000, 0.500, 0.4, 1 / 1.0, clock.getDelta());

y = spring(0.500, 0.000, 0.500, 0.2, 1 / 1.0, clock.getDelta());

And a little weight / gravity:
yVelocity += 0.001 * clock.getDelta() * Math.sqrt( 1.0 );

Sliding figure:

reactiveTest = useLabReactiveSpring({ value: 0.5, dampingRatio: 0.2, trivialVelocityThreshold: 0.001 });

reactiveTest.targetValue = mouse.value[0] = 0.500;

value = 0.500;

Click to stop
Click me!