Moves this vector toward `to` by the fixed `delta` amount.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public Vector2 MoveToward(
Vector2 to,
float delta
)
Parameters
- to
- Type: GodotVector2
The vector to move towards. - delta
- Type: SystemSingle
The amount to move towards by.
Return Value
Type:
Vector2The resulting vector.
See Also