Reference createButton()

createButton()

Creates a

Examples

Syntax

createButton(label, [value])

Parameters

label
String: label displayed on the button.
value
String: value of the button.

Returns

p5.Element: new p5.Element object.

Related References