object._lastChange

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

Overview

Read-only property that provides the file and line number of the last change to any of the object's properties.

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

Example

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

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