Is it possible to create more than one button for different actions in p5.js?

Hi everyone, was just wondering is there a way to create multiple buttons that can output different functions within p5.js. I’m looking into the button references on p5.js .org, but it looks like it hasn’t mentioned anything about this.

would the createSelect(); option be what I’ looking for?

Any suggestions would be great!

Yes, or this, or this, or create multiple buttons in a loop;

1 Like