void
void copied to clipboard
Consider button/function traits
Which is a button that when clicked invokes a function. Something like:
Void.button('name', () => {
// do something here…
})
Only useful in animated sketches, since you can react to the button click by for example toggling a variable, like a light/dark color theme for instance.
Not super priority, since for most things you could just use regular clicks on the canvas, or right-clicks for a secondary action, or button presses, etc.