Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API Frame SetClampedToScreen

Last wiki revision 2023-08-20

Prevents the frame from moving off-screen. Frame:SetClampedToScreen(clampedToScreen)

  • clampedToScreen: - True to enable clamping, false to permit moving off-screen.
  • defines padding within/beyond the screen edges.
  • This method prevents the frame from being moved partially off-screen by the following methods:
  • Any calls to
  • User dragging after
  • User resizing after

Despite calling SetPoint toward 100 pixels beyond the left screen edge, the SpellBookFrame remains fully visible on the screen:

Source

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