// If the left arrow key is down
if keyboard_check(vk_left) {
// Check if I dont collide with any obj_wall when I move 5 units to the left (x-5)
if (!place_meeting(x - 5, y, obj_wall)) {
// Then go ahead and actually move 5 units to the left (x -= 5)
x -= 5;
}
}