object._defined

Type String
Library display.*
Revision 2017.3110
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: