Object.getObjectId()

   
Type function
Library wattageTileEngine.ObjectSystem.Object.*
Return value Number
Keywords  
See also  

Overview

This function returns the ID for this instance. The ID is generated internally by the object system.

Syntax

Object.getObjectId()

Examples

local id = instance.getObjectId()