How to make a Javascript canvas button change function : <p>So I have a working javascript canvas button. Essentially what I am trying to do is make it so that once the button is pressed it will do something different when it is pressed again. I am relatively new to programming and cannot seem to work out a way to do it. Any advice and help would be great.</p>
