Hi! I have a problem with the view function in Game Maker. I want the view to not go outside the room horizontally, but ignore the room height. It should follow the player. So I have this code: view_xview = x - (view_wview/2); view_yview = y - (view_hview/2); But that makes the view go outside the room freely from all sides. Then I have his code: view_hborder = view_wview / 2; view_vborder = view_hview / 2; But that makes the view not go outside the room at all. So I guess the solution is a mix of these two, but I have no idea how to do it.