Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API Frame SetHitRectInsets

Last wiki revision 2023-08-20

Sets the insets of the frame's hit rectangle. Frame:SetHitRectInsets(left, right, top, bottom)

  • left: - Pixels to move the frame's left hit edge to the right by.
  • right: - Pixels to move the frame's right hit edge to the left by.
  • top: - Pixels to move the frame's top hit edge down by.
  • bottom: - Pixels to move the frame's bottom hit edge up by.
  • Basically, negative values of increase the size of the frame's hit rectangle, positive values decrease the size.
  • Calling this function on a CheckButton and passing 0 as all four parameters will make its checkbox clickable and its FontString unclickable.

Source

https://warcraft.wiki.gg/wiki/API_Frame_SetHitRectInsets · 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.