Say if a car is going on the y+ i dont want to be able to press -y
to make it go the other way, how would this be possible.
Use an if statement. Pseudocode:
if (!carIsGoingForward && minusY) {
GoBackwards();
}
1 Like