Index

GetMouseButtonUp

GetMouseButtonUp(<-button <-ignorePressesOverUI) ->val

Description

Returns a boolean indicating if the specified mouse button was released during the game frame. Note: This only return true once until the mouse button is pressed and released again. The button argument specifies which mouse button the check. A value of 0 means the left button, 1 the right button, and 2 the middle button. The second argument indicates whether to ignore the events when the cursor is over the UI.

Examples

if (GetMouseButtonUp(0 true))
   Trace("Left Button Up")
endif

Index