Skip to content

Latest commit

 

History

History
55 lines (27 loc) · 734 Bytes

File metadata and controls

55 lines (27 loc) · 734 Bytes

Home > server > Vector2 > randomize

Vector2.randomize() method

Randomizes the components of the current vector.

Signature:

randomize(scale?: number): Vector2;

Parameters

Parameter

Type

Description

scale

number

(Optional) The scale of the resulting vector.

**Returns:**

Vector2

The current vector.