Vector2.MoveTowards

Calculating a vector that moves from the current position Current to Target.

Vector2.MoveTowards

Properties

Property Name Description
Current Current position
Target Target position
Max Distance Delta The maximum amount of movement
Result Output result