+ 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