reference / interface
button
A button in a ui block, true on the frame it is clicked and false otherwise: if button "clear" [ particles = [] ]. The text is its name, so two buttons with one text are an error.
clicks = 0ui [ if button "count" [ clicks = clicks + 1 ] label ("clicks: " + clicks)]How to write it
button text [at number number] [width number]
Gives true or false.