Skip to content

Latest commit

 

History

History
55 lines (27 loc) · 738 Bytes

File metadata and controls

55 lines (27 loc) · 738 Bytes

Home > server > Vector3 > randomize

Vector3.randomize() method

Randomizes the vector.

Signature:

randomize(scale?: number): Vector3;

Parameters

Parameter

Type

Description

scale

number

(Optional) Length of the resulting vector, if omitted a unit vector is set.

**Returns:**

Vector3

The current vector.