# How to force refresh UE viewport from another application

**URL:** <https://forums.unrealengine.com/t/how-to-force-refresh-ue-viewport-from-another-application/477461>\
**Category:** Editor Scripting\
**Tags:** Python, remote, viewport, editor-viewports, unreal-engine, question\
**Created:** [January 19, 2021, 8:58am UTC](https://forums.unrealengine.com/t/how-to-force-refresh-ue-viewport-from-another-application/477461 "2021-01-19T08:58:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![asztalosdani](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@asztalosdani](https://forums.unrealengine.com/u/asztalosdani)\
**Post date:** [January 19, 2021, 8:58am UTC](https://forums.unrealengine.com/t/how-to-force-refresh-ue-viewport-from-another-application/477461/1 "2021-01-19T08:58:41Z")

</div>

I am controlling UE from a remote python process using the `remote_execution.py`. I can translate the actors in the scene, and I can see their location is updated in the Details panel, but the Viewport is not updated if the UE window is not in focus, it is only updated when I activate the UE window.

How can I force refreshing of the Viewport?

I tried `unreal.EditorLevelLibrary.editor_invalidate_viewports()` but it does not help.

---

<div class="post-metadata">

**Author:** ![Dariusz1989](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dariusz1989](https://forums.unrealengine.com/u/Dariusz1989)\
**Post date:** [March 31, 2025, 5:49am UTC](https://forums.unrealengine.com/t/how-to-force-refresh-ue-viewport-from-another-application/477461/2 "2025-03-31T05:49:59Z")

</div>

+1 from me too. We do lots of scene changes from script but nothing shows up till user click in viewport. How to force update?
