# Get Editor Viewport Size?

**URL:** <https://forums.unrealengine.com/t/get-editor-viewport-size/130501>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [August 30, 2019, 7:14pm UTC](https://forums.unrealengine.com/t/get-editor-viewport-size/130501 "2019-08-30T19:14:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_0cf40951](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0cf40951](https://forums.unrealengine.com/u/anonymous_user_0cf40951)\
**Post date:** [August 30, 2019, 7:14pm UTC](https://forums.unrealengine.com/t/get-editor-viewport-size/130501/1 "2019-08-30T19:14:43Z")

</div>

Hi, How do I get the size of the editor viewport at construction time?

GetViewportSize always gives (1,1)
