Changed (Event): Difference between revisions

From Goodblox Wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 12: Line 12:
|arguments            = type ''[[Value]]''
|arguments            = type ''[[Value]]''
|description          = Fired after Value property is changed
|description          = Fired after Value property is changed
|object              = [[GBX.lua.BoolValue (Object)|BoolValue]], [[GBX.lua.BrickColorValue (Object)|BrickColorValue]], [[GBX.lua.CFrameValue (Object)|CFrameValue]], [[GBX.lua.Color3Value (Object)|Color3Value]], [[GBX.lua.IntValue (Object)|IntValue]], [[GBX.lua.NumberValue (Object)|NumberValue]], [[GBX.lua.ObjectValue (Object)|ObjectValue]], [[GBX.lua.StringValue (Object)|StringValue]], [[GBX.lua.Vector3Value (Object)|Vector3Value]].
|object              = [[GBX.lua.BoolValue (Object)|BoolValue]], [[GBX.lua.BrickColorValue (Object)|BrickColorValue]], [[GBX.lua.CFrameValue (Object)|CFrameValue]], [[GBX.lua.Color3Value (Object)|Color3Value]], [[GBX.lua.IntValue (Object)|IntValue]], [[GBX.lua.NumberValue (Object)|NumberValue]], [[GBX.lua.ObjectValue (Object)|ObjectValue]], [[GBX.lua.RayValue (Object)|RayValue]], [[GBX.lua.StringValue (Object)|StringValue]], [[GBX.lua.Vector3Value (Object)|Vector3Value]].
}}</onlyinclude>
}}</onlyinclude>
[[Category:Events]]
[[Category:Events]]

Revision as of 23:34, 21 September 2021

Event
Syntax Changed( Property property )
Description: Fired after the specified property is changed
In Object: Global




There is also a separate Changed event exclusively for value holder objects. Unlike the global Changed, it is linked directly to the Value property. The type of the value returned corresponds with the Value's type.

Event
Syntax Changed( type Value )
Description: Fired after Value property is changed
In Object: BoolValue, BrickColorValue, CFrameValue, Color3Value, IntValue, NumberValue, ObjectValue, RayValue, StringValue, Vector3Value.