Vector2.Set Manual     Reference     Scripting  
Scripting > Runtime Classes > Vector2
Vector2.Set

function Set (new_x : float, new_y : float) : void

Description

Set x and y components of an existing Vector2.