Documentation
›
API Reference
›
Object
›
Math
›
Vec4
xy
Lua
C++
This function gets the X and Y components of a vector.
Syntax
Vec2
xy
()
Returns
Returns a vector containing the X and Y components of this vector.