viewport size

I want to fix the viewport size accurately in Unreal.
For example, a 512x512 size.
Is there a way to fix the viewport size?

I don’t know if you can set it in the editor, but you certainly can in a standalone window ( as long as you GPU supports it )

Console command r.setres 500x500

setres