cursor()

Environment

Description

Sets the cursor to a predefined shape or restores the default cursor.

Syntax

void cursor() void cursor(int type)

Parameters

NameTypeDescription
typeintARROW, CROSS, HAND, MOVE, TEXT_CURSOR, WAIT (optional)

Returns

void

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...