Changed (Event)/property: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mattchewy
No edit summary
>Camoy
No edit summary
Line 1: Line 1:
{|
<onlyinclude>{{Event
|<onlyinclude>{{Event|name = Changed
|name = Changed
|arguments = [[String]] ''Property''
|arguments = [[String]] ''Property''
|description = Fired after the specified property is changed.
|description = Fired after the specified property is changed.
|object =Instance
|object = Instance
|}}</onlyinclude>
}}</onlyinclude>
|}
 
{{clear floats}}
 
{{Example|<pre>
{{Example|<pre>
local function wChange(prop)
local function wChange(prop)
Line 12: Line 14:
game.Workspace.Changed:connect(wChange)
game.Workspace.Changed:connect(wChange)
</pre>}}
</pre>}}
[[Category:Methods]]

Revision as of 11:54, 3 January 2011

Changed ( String Property )
Description Fired after the specified property is changed.
Member of: Instance


Example
local function wChange(prop)
  print(prop) --most likely DistributedGameTime
end
game.Workspace.Changed:connect(wChange)