Wikia

WoWWiki

API GetMouseButtonClicked

Talk0
98,472pages on
this wiki

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

buttonName = GetMouseButtonClicked();

Returns

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

Details

  • 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.
Advertisement | Your ad here

Photos

Add a Photo
62,041photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki