key

Input / Keyboard

Description

The system variable key always contains the value of the most recently pressed key. For special keys, key == CODED and you must use keyCode.

Syntax

key

Parameters

None

Returns

char

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...