So, the problem is that I make the conditions for the sprite, and at the time of the test in the browser, when I click the button nothing happens
Develop games in your browser. Powerful, performant & highly capable.
How do I put any image, turn a button, when that button, will change layout