SetEnabled (Function)

From Goodblox Wiki
Revision as of 08:51, 24 September 2021 by Xyrafrost (talk | contribs) (created the page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Locked: This item is locked. Attempting to use it will cause an error.


Function
Syntax SetEnabled( Boolean state )
Returns n/a
Description: Sets whether or not the ChangeHistoryService is enabled. When set to false, the undo/redo list is cleared, and does not repopulate. When set to true again, the original list is not restored, but further operations append to the list once more
In Object: ChangeHistoryService