Skip to content

Commit 32ece79

Browse files
authored
Remove reference to .Changed firing for attribute changes (#1013)
## Changes This was changed in 653. https://create.roblox.com/docs/en-us/release-notes/release-notes-653 > Instance.Changed and DataModel.ItemChanged signals will no longer be called when non-scriptable of inaccessible properties change. ## Checks By submitting your pull request for review, you agree to the following: - [x] This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses. - [x] I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses. - [x] To the best of my knowledge, all proposed changes are accurate.
1 parent 43efabd commit 32ece79

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

content/en-us/scripting/attributes.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,6 @@ cabbage:SetAttribute("GrowthRate", nil)
141141

142142
There are several ways to listen for changes to properties and attributes:
143143

144-
- The `Class.Instance.Changed` event listens for changes to any property (including attributes) and passes the name of the changed property as a parameter.
145-
146-
<Alert severity="info">
147-
In the case of attribute changes, `Class.Instance.Changed` fires and passes the string `"Attributes"`, which lets you ignore the event, but isn't especially useful otherwise.
148-
</Alert>
149-
150144
- The `Class.Instance.AttributeChanged` event listens for changes to any attribute and passes the name of the changed attribute as a parameter.
151145
- The `Class.Instance:GetPropertyChangedSignal()` method lets you listen for changes to one property and passes no parameters.
152146
- The `Class.Instance:GetAttributeChangedSignal()` method lets you listen for changes to one attribute and passes no parameters.

0 commit comments

Comments
 (0)