<- CRPL reference <- Input Commands

GetMouseButtonUp

ArgumentsResultNotation
Mouse button to check 0 or 1 depending if mouse button is released i1 – b1

Description

Checks the specified mouse button to see if it was released during the game frame. Only returns true the game fram/update that the mouse button is released . 0 = Left Mouse, 1 = Right Mouse, 2 = Middle Mouise

Examples

if (GetMouseButtonUp(0))
endif