Created
November 3, 2017 20:41
-
-
Save lizzybrooks/54045563e4e8321718cc40297db999f9 to your computer and use it in GitHub Desktop.
How to make a button that is an image in p5.js
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
// size(width, height), just one of them could be AUTO, or you can set them to numbers as pixels.
// For more info https://p5js.org/reference/#/p5.Element/size
button.size(AUTO, this.height);