Click or drag to resize

ObjectGetInstanceId Method

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.instance_from_id.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public ulong GetInstanceId()

Return Value

Type: UInt64

[Missing <returns> documentation for "M:Godot.Object.GetInstanceId"]

See Also