How do I make my game fill the entire screen?

I have a mobile with an infinity display with a small hole for the camera. When I run my game (portrait) black bars appear at the top and bottom of the screen. How do I make my game fill the entire screen?

:wave:

You can try scale mode ENVELOP.

It works! but sprites don’t update their coordinates. How can I change the x and y coordinates of the sprites to fit the size of the screen in relation to it?

“The width and height are automatically adjusted to make the size cover the entire target area while keeping the aspect ratio.”

Show your code and version