Vector2::getX() Syntax Java Return Vector2::getX() Returns the x coordinate of the vector Syntax Java .getX() Return double getX()