wowpedia
Main Menu


Sets an attribute on the frame.

Frame:SetAttribute(attributeName, value)
Frame:SetAttributeNoHandler(attributeName, value)

Arguments

attributeName
string - The name of the attribute (case-insensitive) to be modified.
value
any - The value to be stored.

Details

Patch changes

Shadowlands Patch 9.2.0 (2022-02-22): Added suppressScriptHandler parameter. Later removed in hotfix build 42488 on 25 Feb 2022, replaced by the addition of Frame:SetAttributeNoHandler().
Bc icon Patch 2.0.1 (2006-12-05): Added.