public override bool Equals(object obj) { if (!(obj is UDim2 other)) { return(false); } if (!X.Equals(other.X)) { return(false); } if (!Y.Equals(other.Y)) { return(false); } return(true); }