# Editor Scripting

**URL:** https://forums.unrealengine.com/c/development-discussion/pipeline-plugins/editor-scripting/45.md?page=20

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

**Page:** 21

---

## [UE 4.5.1 Saving Loading Custom USTRUCT()](https://forums.unrealengine.com/t/ue-4-5-1-saving-loading-custom-ustruct/298098)

<div class="topic-metadata">

**Author:** [@ErraOfWar](https://forums.unrealengine.com/u/ErraOfWar)\
**Replies:** 3\
**Last updated:** [October 29, 2022, 4:45pm UTC](https://forums.unrealengine.com/t/ue-4-5-1-saving-loading-custom-ustruct/298098 "2022-10-29T16:45:03Z")

</div>

I am currently making a login/registering system for my game and i am following along with Rama’s “Custom Save Systems, Write Any Data to Compressed Binary Files”. I am was wondering if it was possible and how if i can s…

---

## [Pass-by-Reference in EventDispatcher](https://forums.unrealengine.com/t/pass-by-reference-in-eventdispatcher/485981)

<div class="topic-metadata">

**Author:** [@noillimryM](https://forums.unrealengine.com/u/noillimryM)\
**Replies:** 1\
**Last updated:** [October 29, 2022, 1:43pm UTC](https://forums.unrealengine.com/t/pass-by-reference-in-eventdispatcher/485981 "2022-10-29T13:43:53Z")

</div>

Hi everbody, I have two questions regarding the use of the Pass-by-Reference option for the Inputs in an EventDispatcher : I am not quite sure to fully understand what it is used or useful for ? For example, I have a…

---

## [How do I control character's arm with mouse in combat](https://forums.unrealengine.com/t/how-do-i-control-characters-arm-with-mouse-in-combat/467413)

<div class="topic-metadata">

**Author:** [@Hzrtnc](https://forums.unrealengine.com/u/Hzrtnc)\
**Replies:** 3\
**Last updated:** [October 29, 2022, 12:13pm UTC](https://forums.unrealengine.com/t/how-do-i-control-characters-arm-with-mouse-in-combat/467413 "2022-10-29T12:13:14Z")

</div>

Hello I’m pretty new on ue4. I want to move character’s arm with mouse in combat, when I move my mouse right my character’s arm will move right and when I move mouse up character’s arm will move to up, it same in other d…

---

## [How to detect "does user open level sequence asset"? (Callback from opened asset?)](https://forums.unrealengine.com/t/how-to-detect-does-user-open-level-sequence-asset-callback-from-opened-asset/678978)

<div class="topic-metadata">

**Author:** [@9Evgeny9](https://forums.unrealengine.com/u/9Evgeny9)\
**Replies:** 0\
**Last updated:** [October 28, 2022, 3:45pm UTC](https://forums.unrealengine.com/t/how-to-detect-does-user-open-level-sequence-asset-callback-from-opened-asset/678978 "2022-10-28T15:45:29Z")

</div>

How to detect open/changing of level sequence? I can fully access to LevelSequenceEditorBlueprintLibrary, so i can check it by Python request. But how to detect open/changing LevelSequence after user doubleclicked on t…

---

## [Beginner question about assets manipulation in editor (python)](https://forums.unrealengine.com/t/beginner-question-about-assets-manipulation-in-editor-python/677127)

<div class="topic-metadata">

**Author:** [@yuryb2cu1](https://forums.unrealengine.com/u/yuryb2cu1)\
**Replies:** 2\
**Last updated:** [October 26, 2022, 7:00pm UTC](https://forums.unrealengine.com/t/beginner-question-about-assets-manipulation-in-editor-python/677127 "2022-10-26T19:00:15Z")

</div>

Hi everyone, I’m new to python in Unreal… I’m trying to generate simple box collisions for selected assets in the content browser, I’m able to make the selection but when I try to remove the current collision I get an er…

---

## [Python Scoped Slow Task issues](https://forums.unrealengine.com/t/python-scoped-slow-task-issues/676725)

<div class="topic-metadata">

**Author:** [@Theorem3D](https://forums.unrealengine.com/u/Theorem3D)\
**Replies:** 0\
**Last updated:** [October 25, 2022, 1:09pm UTC](https://forums.unrealengine.com/t/python-scoped-slow-task-issues/676725 "2022-10-25T13:09:28Z")

</div>

I am using the scoped slow task function to provide the user with progress of a process running in the background however it only appears to work occasionally. Usually, it will work the first time but then won’t show for…

---

## [Black Screen in Editor after mistakenly pressing Source Control from Menu](https://forums.unrealengine.com/t/black-screen-in-editor-after-mistakenly-pressing-source-control-from-menu/676225)

<div class="topic-metadata">

**Author:** [@TO1103](https://forums.unrealengine.com/u/TO1103)\
**Replies:** 1\
**Last updated:** [October 24, 2022, 8:17pm UTC](https://forums.unrealengine.com/t/black-screen-in-editor-after-mistakenly-pressing-source-control-from-menu/676225 "2022-10-24T20:17:54Z")

</div>

I mistakenly hit the Source Code button in the menu above the editor. My editor went dark. I can no longer open any projects. They all have the same black-screened editor. . I am using UE4.27 Can someone please help?…

---

## [How to check if actor is overlapping another blueprint actor's component?](https://forums.unrealengine.com/t/how-to-check-if-actor-is-overlapping-another-blueprint-actors-component/441046)

<div class="topic-metadata">

**Author:** [@L11777](https://forums.unrealengine.com/u/L11777)\
**Replies:** 7\
**Last updated:** [October 22, 2022, 7:59am UTC](https://forums.unrealengine.com/t/how-to-check-if-actor-is-overlapping-another-blueprint-actors-component/441046 "2022-10-22T07:59:28Z")

</div>

I have two actors, one if the player character, the other an NPC. The player character has a large sphere around them, and I need the NPC to check that it is overlapping with a component of another actor. I know I need t…

---

## [Python command unreal.EditorAssetLibrary.does\_directory\_exist() always returns false when script ran on startup](https://forums.unrealengine.com/t/python-command-unreal-editorassetlibrary-does-directory-exist-always-returns-false-when-script-ran-on-startup/645461)

<div class="topic-metadata">

**Author:** [@stnemelccm2](https://forums.unrealengine.com/u/stnemelccm2)\
**Replies:** 1\
**Last updated:** [October 21, 2022, 9:46am UTC](https://forums.unrealengine.com/t/python-command-unreal-editorassetlibrary-does-directory-exist-always-returns-false-when-script-ran-on-startup/645461 "2022-10-21T09:46:23Z")

</div>

Hi All I am trying to write an automatic import python script and as part of that I check to see if a file exists using the below python command: unreal.EditorAssetLibrary.does\_directory\_exist() When I ran the script …

---

## [How to call a python function repeatedly by one cmd call??](https://forums.unrealengine.com/t/how-to-call-a-python-function-repeatedly-by-one-cmd-call/673527)

<div class="topic-metadata">

**Author:** [@dedoogong](https://forums.unrealengine.com/u/dedoogong)\
**Replies:** 0\
**Last updated:** [October 20, 2022, 1:03pm UTC](https://forums.unrealengine.com/t/how-to-call-a-python-function-repeatedly-by-one-cmd-call/673527 "2022-10-20T13:03:44Z")

</div>

I want to call my python function repeatedly every 1 second by just one call from the python cmd window (output log window). I tried to use a for i in range(5): actor.setLocation(currentLocation+i) time.sleep(1) but…

---

## [Reimport Asset through Python](https://forums.unrealengine.com/t/reimport-asset-through-python/129238)

<div class="topic-metadata">

**Author:** [@straightdiesel](https://forums.unrealengine.com/u/straightdiesel)\
**Replies:** 3\
**Last updated:** [October 20, 2022, 7:23am UTC](https://forums.unrealengine.com/t/reimport-asset-through-python/129238 "2022-10-20T07:23:15Z")

</div>

Need some help with how to reimport an asset from python. My asset importer imports an fbx to a temp folder then moves all the assets to their proper location once it figures out the proper naming. This works great unl…

---

## [UE4.27 SwitchBoard doesn't show](https://forums.unrealengine.com/t/ue4-27-switchboard-doesnt-show/490053)

<div class="topic-metadata">

**Author:** [@dyzdyz010](https://forums.unrealengine.com/u/dyzdyz010)\
**Replies:** 22\
**Last updated:** [October 19, 2022, 3:03pm UTC](https://forums.unrealengine.com/t/ue4-27-switchboard-doesnt-show/490053 "2022-10-19T15:03:01Z")

</div>

I created an nDisplay demo project. When I hit the “SwitchBoard” button on the toolbar, a cmd window shows up and disappears instantly, and the switchboard window never showed up. I checked the log file, here’s the conte…

---

## [Data asset validation. Python vs. Cpp Commandlets](https://forums.unrealengine.com/t/data-asset-validation-python-vs-cpp-commandlets/672144)

<div class="topic-metadata">

**Author:** [@MiguelCampiao](https://forums.unrealengine.com/u/MiguelCampiao)\
**Replies:** 0\
**Last updated:** [October 18, 2022, 5:41pm UTC](https://forums.unrealengine.com/t/data-asset-validation-python-vs-cpp-commandlets/672144 "2022-10-18T17:41:56Z")

</div>

I have a python script that essentially mimics the DataValidationCommandlet.cpp validator, however, it produces different output. The Cpp validator checks for many more assets than the python version, according to the l…

---

## [How do I get a list of objects referencing an actor Ina scene?](https://forums.unrealengine.com/t/how-do-i-get-a-list-of-objects-referencing-an-actor-ina-scene/671467)

<div class="topic-metadata">

**Author:** [@Ghamazh](https://forums.unrealengine.com/u/Ghamazh)\
**Replies:** 2\
**Last updated:** [October 17, 2022, 11:19pm UTC](https://forums.unrealengine.com/t/how-do-i-get-a-list-of-objects-referencing-an-actor-ina-scene/671467 "2022-10-17T23:19:35Z")

</div>

I have placed an actor in a scene and I want to find a list of all the other actors in the scene that have references to it, but I cannot seem to find a way to do that. I know that the reference viewer shows me a list o…

---

## [Help Component tab does not appear when editing blueprint I can't set the mesh, etc](https://forums.unrealengine.com/t/help-component-tab-does-not-appear-when-editing-blueprint-i-cant-set-the-mesh-etc/588383)

<div class="topic-metadata">

**Author:** [@toskh71](https://forums.unrealengine.com/u/toskh71)\
**Replies:** 2\
**Last updated:** [October 17, 2022, 7:46am UTC](https://forums.unrealengine.com/t/help-component-tab-does-not-appear-when-editing-blueprint-i-cant-set-the-mesh-etc/588383 "2022-10-17T07:46:57Z")

</div>

Component tab does not appear when editing blueprint I can’t set the mesh, etc.

---

## [How to change viewport camera speed with Editor Utility Widget?](https://forums.unrealengine.com/t/how-to-change-viewport-camera-speed-with-editor-utility-widget/668171)

<div class="topic-metadata">

**Author:** [@primefragment](https://forums.unrealengine.com/u/primefragment)\
**Replies:** 0\
**Last updated:** [October 12, 2022, 5:27pm UTC](https://forums.unrealengine.com/t/how-to-change-viewport-camera-speed-with-editor-utility-widget/668171 "2022-10-12T17:27:01Z")

</div>

This one here - How to get and set its value in editor utility widget? (if its even possible) Thanks

---

## [Option to disable variable type in the Blueprint](https://forums.unrealengine.com/t/option-to-disable-variable-type-in-the-blueprint/665652)

<div class="topic-metadata">

**Author:** [@Harcarik](https://forums.unrealengine.com/u/Harcarik)\
**Replies:** 0\
**Last updated:** [October 9, 2022, 1:30pm UTC](https://forums.unrealengine.com/t/option-to-disable-variable-type-in-the-blueprint/665652 "2022-10-09T13:30:54Z")

</div>

In UE5, we can now directly change variable’s type (e.g. from Bool to Integer) using handy dropdown menu next to the name of given variable. While relatively useful, it takes too much space in the MyBlueprint window and…

---

## [Dataprep Editor Operation Replacing Actor with Blueprint Hierarchy Not kept when commiting](https://forums.unrealengine.com/t/dataprep-editor-operation-replacing-actor-with-blueprint-hierarchy-not-kept-when-commiting/656216)

<div class="topic-metadata">

**Author:** [@Ivan\_Hein](https://forums.unrealengine.com/u/Ivan_Hein)\
**Replies:** 2\
**Last updated:** [October 8, 2022, 2:54am UTC](https://forums.unrealengine.com/t/dataprep-editor-operation-replacing-actor-with-blueprint-hierarchy-not-kept-when-commiting/656216 "2022-10-08T02:54:25Z")

</div>

I am struggling to work out what I am doing incorrectly while adding blueprint actors to the scene in a Dataprep Editor Operation Blueprint that I am in the process of creating. Prior to going any further, a recipe with…

---

## [Can we start PIE from Python script?](https://forums.unrealengine.com/t/can-we-start-pie-from-python-script/657650)

<div class="topic-metadata">

**Author:** [@vrp\_vh1](https://forums.unrealengine.com/u/vrp_vh1)\
**Replies:** 0\
**Last updated:** [September 27, 2022, 5:23pm UTC](https://forums.unrealengine.com/t/can-we-start-pie-from-python-script/657650 "2022-09-27T17:23:07Z")

</div>

Hi, so I was wondering if it’s possible to start “PIE” wait for the “END” and then close the editor from a python script. the job that I would like to automate is basically: open project in editor hit “play” wait for…

---

## [Is it possible to get all ActorFoliage with EditorUtilities?](https://forums.unrealengine.com/t/is-it-possible-to-get-all-actorfoliage-with-editorutilities/657264)

<div class="topic-metadata">

**Author:** [@blackreaven](https://forums.unrealengine.com/u/blackreaven)\
**Replies:** 0\
**Last updated:** [September 27, 2022, 7:52am UTC](https://forums.unrealengine.com/t/is-it-possible-to-get-all-actorfoliage-with-editorutilities/657264 "2022-09-27T07:52:29Z")

</div>

\[using UE 5.0.3\] Hey For my Project(a Study) my Foliage has to be an Actor therefore I am using Actor Foliages to be able to paint on the Landscape. After all Foliage is set I need to configure the local Vis Degree ins…

---

## [Interactive Tools Framework: TransformGizmo not interactable](https://forums.unrealengine.com/t/interactive-tools-framework-transformgizmo-not-interactable/266943)

<div class="topic-metadata">

**Author:** [@TimLewis](https://forums.unrealengine.com/u/TimLewis)\
**Replies:** 1\
**Last updated:** [September 26, 2022, 4:54am UTC](https://forums.unrealengine.com/t/interactive-tools-framework-transformgizmo-not-interactable/266943 "2022-09-26T04:54:02Z")

</div>

Hi There! I’m currently working with the Interactive Tools Framework to try and create an editor mode that allows me to create and Bezier Patches, and stich them together. However I’m having some trouble with some of th…

---

## [Use Python 3.7+ Typings to ease UE scripting](https://forums.unrealengine.com/t/use-python-3-7-typings-to-ease-ue-scripting/655599)

<div class="topic-metadata">

**Author:** [@Lapinou21](https://forums.unrealengine.com/u/Lapinou21)\
**Replies:** 0\
**Last updated:** [September 24, 2022, 8:23pm UTC](https://forums.unrealengine.com/t/use-python-3-7-typings-to-ease-ue-scripting/655599 "2022-09-24T20:23:37Z")

</div>

Hi Everyone, I have been kind of disappointed by the provided Python C++ Wrapper file unreal.py Given that the python version used in UE5 is recent enough to support typings, I have started a conversion process to prov…

---

## [Sound wave gets saved, but doesn't play after reopening editor](https://forums.unrealengine.com/t/sound-wave-gets-saved-but-doesnt-play-after-reopening-editor/475762)

<div class="topic-metadata">

**Author:** [@Knoblauchrauke](https://forums.unrealengine.com/u/Knoblauchrauke)\
**Replies:** 2\
**Last updated:** [September 23, 2022, 8:32pm UTC](https://forums.unrealengine.com/t/sound-wave-gets-saved-but-doesnt-play-after-reopening-editor/475762 "2022-09-23T20:32:36Z")

</div>

Hi there, I have a (for my skills) rather complicated VR-setup, where I record variables every time my game is played and save them, so they get replayed next time the game is played. For that I use a save game object,…

---

## [Weird packaging issue](https://forums.unrealengine.com/t/weird-packaging-issue/650478)

<div class="topic-metadata">

**Author:** [@jin8864y](https://forums.unrealengine.com/u/jin8864y)\
**Replies:** 3\
**Last updated:** [September 23, 2022, 1:51am UTC](https://forums.unrealengine.com/t/weird-packaging-issue/650478 "2022-09-23T01:51:24Z")

</div>

I created 10 music files to sell on the marketplace and tried to make it a package to upload on it. Both UE4 and UE5 gave me weird issues. Let me describe it one by one. === UE4 === Probably, I tried around 20 times f…

---

## [Knowledge Base: Setting up Autocomplete for Editor Python Scripting](https://forums.unrealengine.com/t/knowledge-base-setting-up-autocomplete-for-editor-python-scripting/502092)

<div class="topic-metadata">

**Author:** [@Joe\_Radak](https://forums.unrealengine.com/u/Joe_Radak)\
**Replies:** 2\
**Last updated:** [September 22, 2022, 9:43am UTC](https://forums.unrealengine.com/t/knowledge-base-setting-up-autocomplete-for-editor-python-scripting/502092 "2022-09-22T09:43:14Z")

</div>

Setting up Autocomplete for Editor Python Scripting Article written by Cody A. If you frequently write Python for editor scripting, it may be beneficial to set up autocomplete in the IDE of your choice so that you can …

---

## [Postman to Unreal](https://forums.unrealengine.com/t/postman-to-unreal/653654)

<div class="topic-metadata">

**Author:** [@RaidenTrue](https://forums.unrealengine.com/u/RaidenTrue)\
**Replies:** 0\
**Last updated:** [September 21, 2022, 9:16pm UTC](https://forums.unrealengine.com/t/postman-to-unreal/653654 "2022-09-21T21:16:26Z")

</div>

Hello, I would like to call up a function created in Blueprints, directly from Postman, in order to render a scene from the editor. The function takes in 3 inputs, and while I include the input parameters from the Json…

---

## [Editor Utility Blueprint Function Library?](https://forums.unrealengine.com/t/editor-utility-blueprint-function-library/651907)

<div class="topic-metadata">

**Author:** [@ilozen](https://forums.unrealengine.com/u/ilozen)\
**Replies:** 5\
**Last updated:** [September 21, 2022, 11:56am UTC](https://forums.unrealengine.com/t/editor-utility-blueprint-function-library/651907 "2022-09-21T11:56:49Z")

</div>

I’d like to create a Blueprint Function Library that would have access to Editor Utilities (e.g. Python commands). Can’t figure out how to do it?

---

## [Trying to run a python script or .exe at runtime UE5/4.27](https://forums.unrealengine.com/t/trying-to-run-a-python-script-or-exe-at-runtime-ue5-4-27/652918)

<div class="topic-metadata">

**Author:** [@MrKams1](https://forums.unrealengine.com/u/MrKams1)\
**Replies:** 0\
**Last updated:** [September 20, 2022, 10:21pm UTC](https://forums.unrealengine.com/t/trying-to-run-a-python-script-or-exe-at-runtime-ue5-4-27/652918 "2022-09-20T22:21:00Z")

</div>

Hi pls accept my apologies if this has ever been answered or is not possible but I have only just started looking at python scripting the editor and understand that scripts cannot execute during runtime, however i have c…

---

## [How to reference Lose Sight Radius?](https://forums.unrealengine.com/t/how-to-reference-lose-sight-radius/474170)

<div class="topic-metadata">

**Author:** [@Aneroit](https://forums.unrealengine.com/u/Aneroit)\
**Replies:** 8\
**Last updated:** [September 20, 2022, 10:01pm UTC](https://forums.unrealengine.com/t/how-to-reference-lose-sight-radius/474170 "2022-09-20T22:01:58Z")

</div>

Hi! I don’t know what should I plug in to Lose Sight Radius so I could read it’s value

---

## [Any method to extend context menu (right mouse click) of an AnimGraphNode?](https://forums.unrealengine.com/t/any-method-to-extend-context-menu-right-mouse-click-of-an-animgraphnode/128981)

<div class="topic-metadata">

**Author:** [@Hirox](https://forums.unrealengine.com/u/Hirox)\
**Replies:** 1\
**Last updated:** [September 20, 2022, 6:26pm UTC](https://forums.unrealengine.com/t/any-method-to-extend-context-menu-right-mouse-click-of-an-animgraphnode/128981 "2022-09-20T18:26:20Z")

</div>

Hello everyone. My goal : FAnimNode\_BlendSpacePlayer BlendSpaceNode;\* \*\*BlendSpaceNode-\>GetCurrentAssetLength(); \*\*← not this \*\*BlendSpaceNode-\>GetCurrentAssetTime(); \*\*← not this either \*\*BlendSpaceNode-\>GetCurrent…

[Previous page](https://forums.unrealengine.com/c/development-discussion/pipeline-plugins/editor-scripting/45.md?page=19)

[Next page](https://forums.unrealengine.com/c/development-discussion/pipeline-plugins/editor-scripting/45.md?page=21)
