How to force set engine size?

Hi~ everyone~
Normally engine’s size is base on canvas size:

Did there any way to force engine always renderring in 4K?
Thank you for your help at first :grinning:

you can play with the hardwareScalingLevel to force super sampling if needed with engine.setHardwareScalingLevel()