Changed (Event)/property: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens
Believe it or not, 'Property' is actually a real type. The object browser says so...
>JulienDethurens
Believe it or not, 'Property' is actually a real type. The object browser says so...
(No difference)

Revision as of 05:36, 6 February 2012

Changed ( Property property )
Description Fired whenever a property of the object changes.
Member of: Instance


Example

This code would print the value of each property of the Workspace, as well as its name, whenever it is changed: Workspace.Changed:connect(function(property) print(property .. ": ", Workspace[property]) end)