_mousePressed

Input / Mouse

Description

Variable storing whether any mouse button is currently pressed.

Syntax

_mousePressed

Parameters

None

Returns

bool

Related

Under the Hood

From Processing.h:

bool _mousePressed = false; return _mousePressed;