Function RPressed : Boolean;
RPressed returns True if the right mouse button is pressed.
This is simply a wrapper for the GetMouseState procedure.
None.
GetMouseState, LPressed, MPressed
For an example, see GetMouseState.