object._defined

Type String
Library display.*
Revision Release 2022.3683
Keywords introspection, defined
See also object._lastChange
object._properties

Overview

Read-only property that provides the file and line number where the object was created.

For further introspection options, see object._lastChange and object._properties.

Example

local line = display.newLine( 200, 90, 227, 165 )

print("line._defined: " .. line._defined )
--> line._defined: /Users/gimli/src/IntrospectionDemo/main.lua:3: