delta X
Calculates the difference between the current x-coordinate and the target x-coordinate.
Return
The calculated value.
Parameters
x
The target x-coordinate.
Calculates the difference between the current x and the target position's x-coordinate.
Return
The calculated value.
Parameters
position
The target position.