Trying to learn how to make simple buttons in p5js

i am trying to learn how to make a simple button that prints hello in p5js or something else simple but when i tried to do it my self it didn’t work. Can someone just show me the code of a button that prints smth(or anything else) so i can see how buttons work


Take a look here: