I've got a bit of an odd use case where I need to show a game full screen and then at some point switch it to only show on the bottom half of the screen. It's running on mobile inside a webview iframe. I've tried all sorts of combinations of changing canvas/layout/viewport size and I can't figure out a way to get the behaviour I want.
The closest I've gotten so far it so set the iframe size directly, but when I change the padding to get it to move to the bottom of the screen it seems like the button hit boxes are not updated to reflect the new position.
Anyone have an idea of how to achieve this?