I am trying to make my game responsive to different screen sizes. Basically, I want my gameObjects, such as rectangles, etc, to change size according to the resized screen, say on Mobile the rectangle be 1/4 width of the screen, then as the screen gets larger to say Tablet, the rectangle changes width to 1/5 of the screen, etc. How would I go about doing this? Currently I have no code to show, though I understand I would need to add a window event listener for resize? Can somebody help with this please?