Vector2.MoveTowards

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

Vector2.MoveTowards

Properties

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