Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API ScriptRegion SetPassThroughButtons

Last wiki revision 2023-09-30

Allows the region to propagate mouse clicks to underlying regions or the world frame. ScriptRegion:SetPassThroughButtons([button1, ...])

  • button1, ...: :
  • Pass multiple arguments to register several buttons, or none to remove any previous registrations.
  • Subsequent calls replace any prior ones.

Passes through left and middle mouse buttons when clicking the icon, but not the right mouse button. A quirk appears to be when clicking a button that is passed through and not budging the mouse, the next mouse click with any button will also be passed through. E.g. with the above example, doing a left-click and then the right-click still gets passed through.

Source

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