Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API Frame SetID

Last wiki revision 2023-08-20

Sets a numeric identifier for the frame. Frame:SetID(id)

  • id: - Only supports integers.
  • 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, is the bag frame nearest the bottom-right corner of the screen. However, its ID changes to indicate which bag it represents.

Source

https://warcraft.wiki.gg/wiki/API_Frame_SetID · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.