File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
content/en-us/reference/engine/classes Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -1237,6 +1237,29 @@ methods:
12371237 thread_safety : Unsafe
12381238 capabilities : []
12391239 writeCapabilities : []
1240+ - name : Instance:ResetPropertyToDefault
1241+ summary : |
1242+ Resets the given property value back to its default value.
1243+ description : |
1244+ This method will reset the value of the given property back to its default value,
1245+ as defined after being created via `Datatype.Instance.new()`.
1246+ Providing an invalid property or a read-only one will result in an error.
1247+ code-samples :
1248+ parameters :
1249+ - name : name
1250+ type : string
1251+ default :
1252+ summary : |
1253+ The name of the property to be reset.
1254+ returns :
1255+ - type : void
1256+ summary : ' '
1257+ tags : []
1258+ deprecation-message : ' '
1259+ security : None
1260+ thread_safety : Unsafe
1261+ capabilities : []
1262+ writeCapabilities : []
12401263 - name : Instance:SetAttribute
12411264 summary : |
12421265 Sets the attribute with the given name to the given value.
You can’t perform that action at this time.
0 commit comments