Making cars reverse if bumper hits a wall that has a certain value

So basically is there a roblox code line, thats like if its touched and if the car leaves the touch area, then it stops going reverse.
How do i do this?