How do I find out all the methods that are available to an object?

I want to know all the methods that are part of a button or input box.

The reference doesn’t list them all I think.

1 Like

You can read through the source code here:

Or you can go beyond p5.js and use the underlying native Element object, which is documented here:

1 Like

p5js.org/reference/#/p5.Element


2 Likes