how it work: instead of whenever it touches the border, it will move back, it now only moves back in the direction you were moving. If you run into wall, and it see u made it run into wall, then it cancel your movement