owner id||doc136124

September 20, 2022

Format

 Object.ownerId
  • The class to which the attribute belongs:Object

Description

Id of the owner object, or 0 if there is no owner.


Value Returned

type Description
int ObjectId


Code Samples

output entity object owner object id

local ownerId = object.ownerId
print(ownerId)