ScriptRegion:CanChangeProtectedState
Jump to navigation
Jump to search
Returns true if protected properties of the region can be changed by non-secure scripts.
canChange = ScriptRegion:CanChangeProtectedState()
Returns
- canChange
- boolean - True if addon scripts are currently allowed to change protected properties of the region (e.g. showing or hiding it, changing its position, or altering frame attributes).
Details
- Addon scripts are allowed to change protected properties for non-secure frames, or for secure frames while the player is not in combat.