This is the craziest thing I have ever seen on scratch! Even crazier than Griffpatch's code! Yet it's so simple. I MADE THIS WITHOUT ANY IF STATEMENTS!!!!!!! PLEASE CLICK SEE INSIDE I first discovered this at this link: https://scratch.mit.edu/projects/103272445/#editor I noticed that Hobson-TV use this script, so technically, I didn't discover it. Credit goes to him, but I still found this mind-blowing
This is because apparently scratch has this code: key pressed=1 not key pressed=0 THEREFORE, my code change xv by right arrow - left arrow is pretty simple. If right arrow pressed and left arrow not pressed, then change xv by 1-0 or 1 If left arrow pressed and right arrow not pressed, then change xv by 0-1 or -1