How to get editor inner viewport size

Godot Version

4.5 beta 1

Question

How can I get the size of the inner viewport of the editor?
(the one hilighted in red)

Thanks in advance!

Try this:

EditorInterface.get_editor_main_screen().size

It worked perfectly!
Thanks a lot

1 Like