<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#input_commands|Input Commands]] ===== GetMouseButtonDown ===== ^Arguments^Result^Notation^ | Mouse button to check |0 or 1 depending if mouse button is pressed | '' i1 -- b1'' | === Description === Checks the specified mouse button to see if it was pressed during the game frame. Only returns true the game fram/update that the mouse button is pressed. 0 = Left Mouse, 1 = Right Mouse, 2 = Middle Mouise === Examples === if (GetMouseButtonDown(0)) # Fire projectile once. endif