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.