Viewport size

Hello, after a lot of search I couldn’t find anything on changing editor viewport size. I want to set it to a fix value so that everytime I open engine or begin play I am sure it is that size only. So far I could save the layout of the editor but that doesn’t work always and sometimes my viewport size changes to some random values.

Is there a way to do this dynamically through c++ code or blueprints?

Hey @impostekno!

Modifying the viewport size is definitely possible through C++. While you may have to do some digging, here is a plugin that creates the same/similar goal to to what you need:

I hope the above helps point you in the right direction!

Thanks for the reply @Quetzalcodename will look further into this c++ option.

If you got any pointers for that it would be amazing!