Skip to contents

.

Usage

vector_2_move_towards(v, target, max_distance)

Arguments

v

A numeric vector of length 2.

target

A numeric vector of length 2.

max_distance

A number.

Value

A numeric vector of length 2

Note

This function has been auto-generated from the following Raylib function definition:

Vector2 Vector2MoveTowards(Vector2 v, Vector2 target, float maxDistance);