Skip to content

Api > Vector2 > Equals()


Vector2.Equals(object other)⚓︎

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

Parameters:⚓︎

Name Type Description
other object

Returns:⚓︎

type Description
boolean true if the given vector is exactly equal to this vector.

Usage⚓︎

---@type Vector2
local vector2;

---@type object
local other;


local val0 = vector2.Equals(other)