Instancescompareinstances
Instances

compareinstances

Checks whether two references represent the same Instance.

Related to sUNC documentation

This page follows the official sUNC reference.

Signature

Luau
function compareinstances(object1: Instance, object2: Instance): boolean

Returns

true when both references represent the same Instance.