GodotObject.getInstanceId

Returns the object's unique instance ID. This ID can be saved in EncodedObjectAsID, and can be used to retrieve the object instance with @GDScript.instanceFromId.

struct GodotObject
@nogc nothrow const
long
getInstanceId
()

Meta