Does this code have this glitch on your screen too? Why is it like this...? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Does this code have this glitch on your screen too? Why is it like this...?

I’m just trying to make functional left, right, up, down buttons. And I did. Those buttons move an element left, right, up down. (let’s call that element “b”) When you press on the buttons, the “b” moves. Click on the buttons multiple times, and you’ll see that the “b” leaves lines of trials. I don’t understand why that is. And if you go to the right, and exit, the trials disappear. Experiment with the code, and tell me if that glitch happens to you, or if you have an idea why that’s happening. https://code.sololearn.com/WDRj1kVfm36S/?ref=app

16th Mar 2020, 12:34 AM
Ginfio
Ginfio - avatar
3 Answers
+ 3
I don't have an issue with trails. Can you test using a different device?
16th Mar 2020, 3:22 AM
Sonic
Sonic - avatar
+ 2
Works fine for me. I dont see any problem.
16th Mar 2020, 12:46 AM
yochanan sheinberger
yochanan sheinberger - avatar
+ 1
Code Crasher the thing is ... I didn’t make the trials. But when i just move around the box, it leaves a line mark (or trial i called it). And when you exit to the right, the marks disappear. -
16th Mar 2020, 2:58 PM
Ginfio
Ginfio - avatar