User Tools

Site Tools


4rpl:commands:getmousebuttonup

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

4rpl/commands/getmousebuttonup.txt · Last modified: 2024/02/16 13:47 by digitalizedMind