Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Sets a numeric identifier for the frame.

Frame:SetID(id)

Arguments[]

id
number - Only supports integers.

Details[]

  • Frame IDs have no effect on frame behavior, but can be a useful way to keep track of multiple similar frames, especially in cases where a list of frames is created from a template (such as for action buttons, loot slots, or lines in a FauxScrollFrame); or when frames might be constructed in a different order than they appear.
  • For example, ContainerFrame1 is the bag frame nearest the bottom-right corner of the screen. However, its ID changes to indicate which bag it represents.
Advertisement