if keyboard.left: Player.x = Player.x - 2 elif keyboard.right: Player.x = Player.x + 2 elif keyboard.up: Player.y = Player.y - 2 elif keyboard.down: Player.y = Player.y + 2