2D cross product (scalar: x1*y2 - y1*x2).
Parameters
| other | Vector2 |
A two-dimensional vector, typically used for screen coordinates and 2D sizes.
2D cross product (scalar: x1*y2 - y1*x2).
| other | Vector2 |
Dot product with other.
| other | Vector2 |
Angle in radians between this vector and other. If isSigned, range is [-pi, pi]; else [0, pi].
| other | Vector2 | |
| isSigned | boolean |
Linear interpolation between this vector and goal by alpha.
| goal | Vector2 | |
| alpha | number |
Component-wise absolute value.
Component-wise ceiling.
Component-wise floor.
Component-wise sign (-1, 0, or 1).
Component-wise maximum of this vector and other. Note: unlike Roblox, only one argument is supported.
| other | Vector2 |
Component-wise minimum of this vector and other. Note: unlike Roblox, only one argument is supported.
| other | Vector2 |
True if both components are within epsilon of other.
| other | Vector2 | |
| epsilon | number |