Skip to content

Api > NavMeshAgent > GetInstanceID()


NavMeshAgent.GetInstanceID()⚓︎

Returns the instance id of the object.

Returns:⚓︎

type Description
number instance id of the object.

Usage⚓︎

---@type NavMeshAgent
local navmeshagent;


local val0 = navmeshagent.GetInstanceID()