Returns whether secure frame attributes can currently be changed. Applies only to protected frames inheriting from one of the secure frame templates; frame attributes may only be changed by non-Blizzard scripts while the player is not in combat (or for a short time after a secure script calls :AllowAttributeChanges()).

Signature:

enabled = Frame:CanChangeAttribute()

Returns:

  • enabled - 1 if secure frame attributes can currently be changed; otherwise nil (1nil)