# Is there any event when the size of Viewport changed?

**URL:** <https://forums.unrealengine.com/t/is-there-any-event-when-the-size-of-viewport-changed/66736>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [June 17, 2016, 4:53am UTC](https://forums.unrealengine.com/t/is-there-any-event-when-the-size-of-viewport-changed/66736 "2016-06-17T04:53:07Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dawnarc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dawnarc](https://forums.unrealengine.com/u/dawnarc)\
**Post date:** [June 17, 2016, 9:12am UTC](https://forums.unrealengine.com/t/is-there-any-event-when-the-size-of-viewport-changed/66736/3 "2016-06-17T09:12:33Z")

</div>

> [@;549426](#):
>
> you can just check yourself in Tick() if it changed, if yes, you calculate your new values.  
> Two Integer comparsions and an if-statement per tick is absolutely nothing, if optimization is your reason why you don’t want to have it in tick.  
> As far as I am aware of, there is no BP exposed event for this purpose.

Thx for your suggestion!

---

_[View the full topic](https://forums.unrealengine.com/t/is-there-any-event-when-the-size-of-viewport-changed/66736)._
