Lore archive · Warcraft Wiki, 2023 dump
API GetMouseButtonClicked
Last wiki revision 2022-07-21
Returns the mouse button responsible during an OnClick event (e.g. "RightButton"). buttonName = GetMouseButtonClicked
- buttonName: - name of the button responsible for the innermost OnClick event. For example, "LeftButton"
- The buttonName return value may be an arbitrary string (as the method accepts arbitrary arguments).
- If there are multiple OnClick handler dispatches on the call stack, information about the innermost one is returned.
Source
https://warcraft.wiki.gg/wiki/API_GetMouseButtonClicked · 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.