# Calling Blueprints in the Editor/Running Editor Utility Widget only work after clicking on viewpor.

**URL:** <https://forums.unrealengine.com/t/calling-blueprints-in-the-editor-running-editor-utility-widget-only-work-after-clicking-on-viewpor/142991>\
**Category:** Editor Scripting\
**Tags:** unreal-engine\
**Created:** [May 7, 2020, 8:06am UTC](https://forums.unrealengine.com/t/calling-blueprints-in-the-editor-running-editor-utility-widget-only-work-after-clicking-on-viewpor/142991 "2020-05-07T08:06:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Makis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Makis](https://forums.unrealengine.com/u/Makis)\
**Post date:** [May 7, 2020, 8:06am UTC](https://forums.unrealengine.com/t/calling-blueprints-in-the-editor-running-editor-utility-widget-only-work-after-clicking-on-viewpor/142991/1 "2020-05-07T08:06:12Z")

</div>

Hello,

I am making few blueprint editor scripts but i am getting this weird behavior.

Calling Blueprints in the Editor and Running Editor Utility Widget only work after clicking on Editor Viewport first.

Lets say i want to select all static mesh actors and rotate them. If i click the button on the editor utility widget i see the result after i click first on the Viewport.

Yesterday at some point everything worked as intended. I pushed the button and actors rotate instantly.

Today i opened the project and had the same problem.I run the script and have to click on Viewport to see the results.

Anyone else had this problem?

\*\*  
It appears that this problem occurs only on a VM in azure. At my laptop, both calling blueprints events in editor and running editor utility widgets, work as intended.
