When the button is clicked, it changes animation (pressed down) however, the pixel art image is centered and should behave like this instead: https://scratch.mit.edu/projects/868967622/
The button changes from the top. However HTML does from the center.
How do I solve this?
Sry if the question isn’t clear.
Thx in advance.
2
Answers
You can position your item basing on the bottom of the screen instead of top of it. So change your code from
To
You need to change the translate as you did mainbtn bottom.
Could you +1 if it worked for you?