+ 1
Moving with buttons
I wrote this code move a circle when a button is pressed, but Iâm pretty sure I messed up because it only moves every few times the button is pressed. Sometimes it does, but itâs kinda glitchy. Is something wrong or out of order?(I havenât added collision detection yet) https://code.sololearn.com/WmvrFl2cJ625/?ref=app
4 Answers
+ 1
Its fine and works normal
But you have to set user-select to none from css by adding
user-select: none;
In the button styling
+ 1
Runtime Terror But I think request... Makes it faster