Skip to main content

Vector2.Equals(object other)

Returns true if the given vector is exactly equal to this vector.

Parameters:

NameTypeDescription
otherobject

Returns:

typeDescription
booleantrue if the given vector is exactly equal to this vector.

Usage

---@type Vector2
local vector2;

---@type object
local other;


local val0 = vector2.Equals(other)