Changing resolution width and height of application

Hi @Leonidas @mvaligursky @yaustar @Albertos
I want to change resolution width and resolution height (which is present in settings → rendering) on runtime, I’m using this code but its not working. I am unable to access resolution width and resolution height yet.
image


I want to change these values through code while app is running

pc.app.setCanvasResolution(pc.RESOLUTION_AUTO, 1920, 1080);