Yea but that still dosnet fix the issues where i want the object to keep moving in a direction until it hits a wall, without holding down the key. I would like to make it so that if i press Right arrow, object is gona move to the right until it hits a wall.