Hi everyone. Sorry if this was mentioned before, I couldn't find anything on what I'm looking for. I'm making a procgenned game that can generate levels of various sizes, and I can't find how to set the layout's X without altering its Y size.
I want to first set a layout size according to how many "screens" the level's length should be (multiples of the game's resolution, so I can take advantage of the game's scrolling) before generating the level, but I can only find a function to set the layout's SCALE, not just X or Y.
Could you please tell me how to set the layout's X value to a variable while ingame? Is that possible? Thanks!