delta Y
Calculates the vertical difference between the current y-coordinate and the target y-coordinate.
Return
The calculated value.
Parameters
y
The target y-coordinate.
Calculates the difference between the current y and the target position's y-coordinate.
Return
The calculated value.
Parameters
position
The target position.