Changed (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
No edit summary
>JulienDethurens
No edit summary
 
(33 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Event|name=Changed
There are two different ''Changed'' events as shown below.
|arguments=[[Property]] ''Property''
{{:Changed (Event)/property}}
|description= Fired after the specified property is changed
{{clear floats}}
|object= Global
{{:Changed (Event)/value}}
{{clear floats}}


 
[[Category:Events]]
 
----
There is also a separate ''Changed'' event exclusively for value holder objects. Unlike the global ''Changed'', it is linked directly to the [[Value (Property)|Value]] property. The type of the value returned corresponds with the Value's type.
 
{{Event|name=Changed
|arguments= type ''[[Value (Property)|Value]]''
|description= Fired after ''Value'' property is changed
|object= [[BoolValue]], [[BrickColorValue]], [[CFrameValue]], [[Color3Value]], [[IntValue]], [[NumberValue]], [[ObjectValue]], [[StringValue]], [[Vector3Value]].
|}}

Latest revision as of 05:32, 6 February 2012

There are two different Changed events as shown below.

Changed ( Property property )
Description Fired whenever a property of the object changes.
Member of: Instance
Changed ( type Value )
Description Fired after the Value property is changed. This is present but does not work in 2008M, it uses the other version of this event instead.
Member of: BoolValue, BrickColorValue, CFrameValue, Color3Value, IntValue, NumberValue, ObjectValue, StringValue, Vector3Value, RayValue