keyPressed

Input / Keyboard

Description

The boolean system variable keyPressed is true if any key is pressed.

Syntax

keyPressed

Parameters

None

Returns

bool

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...