UIHANDLER OnMouseUp

From Warcraft Wiki
Jump to navigation Jump to search
GitHub Octocat.png  Dragonflight-Icon-Inline.png  BTNTemp.png  Wowprogramming.png OnMouseDown
GitHub Octocat.png  Dragonflight-Icon-Inline.png  BTNTemp.png  Wowprogramming.png OnMouseUp

Invoked when a mouse button is released on a widget.

ScriptRegion OnMouseUp(self, button, isInside)

Arguments

self
ScriptObject - The widget receiving the mouse input
button
string : LeftButton, RightButton, MiddleButton, Button4, Button5
upInside
boolean - Whether the cursor was over the frame at moment of the input received

Details

  • This is invoked after OnMouseDown even if the cursor is moved and released outside of the widget.