Manual     Reference     Scripting  
  
Scripting > Runtime Classes > Vector2   

Vector2.Vector2  

static function Vector2 (x : float, y : float) : Vector2

Description

Constructs a new vector with given x, y components.