Vector3::min

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

This function returns the minimum partial of a Vector3.

Syntax

vector.min();

Returns

  • number The minimum.

Example

Server-Side
const vec1 = new mp.Vector3(10, 30, 100);

const minimum = vec1.min(); // maximum = 10

See Also