Fandom

WoWWiki

API GetMouseButtonClicked

104,631pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetMouseButtonClicked

Returns the name of the button responsible causing the OnClick handler to fire.

buttonName = GetMouseButtonClicked();

Returns Edit

buttonName 
String - name of the button responsible for the innermost OnClick event. For example, "LeftButton"

Details Edit

  • The buttonName return value may be an arbitrary string (as the Button:Click method accepts arbitrary arguments).
  • If there are multiple OnClick handler dispatches on the call stack, information about the innermost one is returned.

Also on Fandom

Random Wiki