Changed (Event): Difference between revisions
From Goodblox Wiki
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{CatUp|Events}} | {{CatUp|Events}} | ||
<onlyinclude>{{Event| | <onlyinclude>{{Event| | ||
name = Changed | name = Changed | ||
Line 7: | Line 6: | ||
|object = Global | |object = Global | ||
}}</onlyinclude> | }}</onlyinclude> | ||
----- | ----- | ||
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. | 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. | ||
<onlyinclude>{{Event| | <onlyinclude>{{Event| | ||
name = Changed | name = Changed |
Revision as of 20:56, 23 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. |