A button function (article) | Buttons | Khan Academy
https://www.khanacademy.org/computing/computer-programming/programming-games-visualizations/programming-buttons/a/a-button-function
Includes a label or icon that describes what it will do. Responds to the user clicking on it (but not elsewhere) We can achieve #1 and #2 pretty easily: fill (0, 234, 255); rect (100, 100, 150, 50, 5); fill (0, 0, 0); textSize (19); text ("Useless button", 110, 133); To achieve #3, we need to define a mouseClicked function that will get called ...
DA: 84 PA: 9 MOZ Rank: 85