Returns whether protected properties of the region can be changed by non-secure scripts.
Returns whether protected properties of the region can be changed by non-secure scripts. Addon scripts are allowed to change protected properties for non-secure frames, or for secure frames while the player is not in combat.
Signature:
Code
canChange = Region:CanChangeProtectedState()
Returns:
canChange - 1 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); otherwise nil (value, 1nil)