# Editor Scripting

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

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

**Page:** 60

---

## [Python: How can I point load\_asset to an asset library not in root?](https://forums.unrealengine.com/t/python-how-can-i-point-load_asset-to-an-asset-library-not-in-root/448057)

<div class="topic-metadata">

**Author:** [@CozyHeartPenguin](https://forums.unrealengine.com/u/CozyHeartPenguin)\
**Replies:** 1\
**Last updated:** [September 16, 2019, 9:19am UTC](https://forums.unrealengine.com/t/python-how-can-i-point-load_asset-to-an-asset-library-not-in-root/448057 "2019-09-16T09:19:14Z")

</div>

I’m currently working on python scripts for UE4 to import my GIS data into unreal. A problem I am running into is with the ‘unreal.EditorAssetLibrary.load\_asset’ class. I can write out: cube = unreal.EditorAssetLibrary…

---

## [Anti-Hack Hash](https://forums.unrealengine.com/t/anti-hack-hash/131041)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_bc39fdbf](https://forums.unrealengine.com/u/anonymous_user_bc39fdbf)\
**Replies:** 0\
**Last updated:** [September 12, 2019, 8:01pm UTC](https://forums.unrealengine.com/t/anti-hack-hash/131041 "2019-09-12T20:01:50Z")

</div>

Hello I don’t know much about coding and i have a question about anti hacking measures. To program a hack hackers need specific data from the games code such as ID’s wich (as far as i know) do not change automatically. …

---

## [Why is my save load function not working?](https://forums.unrealengine.com/t/why-is-my-save-load-function-not-working/455190)

<div class="topic-metadata">

**Author:** [@Tofu\_1\_1](https://forums.unrealengine.com/u/Tofu_1_1)\
**Replies:** 6\
**Last updated:** [September 12, 2019, 10:21am UTC](https://forums.unrealengine.com/t/why-is-my-save-load-function-not-working/455190 "2019-09-12T10:21:07Z")

</div>

Hi folks, I am trying to add a feature to my game which I press a key on my keyboard to save game character location, and press another key to load the value stored previously to restore game character location. I foun…

---

## [Scripting to create assets programmatically?](https://forums.unrealengine.com/t/scripting-to-create-assets-programmatically/418949)

<div class="topic-metadata">

**Author:** [@aliasense](https://forums.unrealengine.com/u/aliasense)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 12:14am UTC](https://forums.unrealengine.com/t/scripting-to-create-assets-programmatically/418949 "2019-09-12T00:14:42Z")

</div>

What is a good way to programmatically create a camera, a cube with a BluePrint attached that gets called when the cube click (just as an example)? Some of the input variables change, and we need an external program to …

---

## [Create and edit values in child BP through python](https://forums.unrealengine.com/t/create-and-edit-values-in-child-bp-through-python/129395)

<div class="topic-metadata">

**Author:** [@westcut](https://forums.unrealengine.com/u/westcut)\
**Replies:** 2\
**Last updated:** [September 12, 2019, 12:11am UTC](https://forums.unrealengine.com/t/create-and-edit-values-in-child-bp-through-python/129395 "2019-09-12T00:11:06Z")

</div>

Good Day, I am trying to create a child of a BP through python, searching the documentation and not seeing anything for creation of blueprints or making a child of one. After making it i want it then edit some of the va…

---

## [Why can't I have a UObject Reference as a UFunction Parameter?](https://forums.unrealengine.com/t/why-cant-i-have-a-uobject-reference-as-a-ufunction-parameter/455098)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_1cdfb710](https://forums.unrealengine.com/u/anonymous_user_1cdfb710)\
**Replies:** 2\
**Last updated:** [September 11, 2019, 4:00pm UTC](https://forums.unrealengine.com/t/why-cant-i-have-a-uobject-reference-as-a-ufunction-parameter/455098 "2019-09-11T16:00:10Z")

</div>

I was trying to write a UFunction that takes a UObject reference as a parameter and realized it won’t compile. Example .h UFUNCTION() void Reference\_Parameter(UPARAM(ref) UObject& reference); .cpp void ATestFunction:…

---

## [Python: Create MovieScenePropertyTrack](https://forums.unrealengine.com/t/python-create-moviescenepropertytrack/454641)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_0846af92](https://forums.unrealengine.com/u/anonymous_user_0846af92)\
**Replies:** 2\
**Last updated:** [September 10, 2019, 1:15pm UTC](https://forums.unrealengine.com/t/python-create-moviescenepropertytrack/454641 "2019-09-10T13:15:03Z")

</div>

Hi fellows devs, I’m trying to programmatically create an object transform animation, given an object and some coordinates. Skeletal animations make it easy; you’re given the template MovieSceneSkeletalAnimationParams …

---

## [Python: Plans for reintroducing actor spawning?](https://forums.unrealengine.com/t/python-plans-for-reintroducing-actor-spawning/454473)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_0846af92](https://forums.unrealengine.com/u/anonymous_user_0846af92)\
**Replies:** 4\
**Last updated:** [September 10, 2019, 1:15pm UTC](https://forums.unrealengine.com/t/python-plans-for-reintroducing-actor-spawning/454473 "2019-09-10T13:15:00Z")

</div>

Hi all, I’m writing a scene loader in python, which requires spawning actors using begin\_spawning\_actor\_from\_class(). However, the C++ implementation of BeginSpawningActorFromClass is deprecated, and the python one app…

---

## [Unwrapping UVs in Editor](https://forums.unrealengine.com/t/unwrapping-uvs-in-editor/221458)

<div class="topic-metadata">

**Author:** [@Paras\_Ahuja](https://forums.unrealengine.com/u/Paras_Ahuja)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 10:08am UTC](https://forums.unrealengine.com/t/unwrapping-uvs-in-editor/221458 "2019-09-10T10:08:27Z")

</div>

Hey I was going through the 4.23 release notes and saw this really cool new feature of generating UVs in the engine. itself. It also mentions that we could do this earlier in 4.22 using scripting Interface. Can anyone te…

---

## [Cannot find Execute Python Script Blueprint function anymore](https://forums.unrealengine.com/t/cannot-find-execute-python-script-blueprint-function-anymore/125439)

<div class="topic-metadata">

**Author:** [@kakyoism](https://forums.unrealengine.com/u/kakyoism)\
**Replies:** 6\
**Last updated:** [September 10, 2019, 8:35am UTC](https://forums.unrealengine.com/t/cannot-find-execute-python-script-blueprint-function-anymore/125439 "2019-09-10T08:35:01Z")

</div>

I was using the Python Scripting feature with Blutility and was able to run Execute Python Script. Today the two functions just “disappeared” from my Blueprint. Typing in Python keyword can no longer find them and my ex…

---

## [Automatically Fill Assets in an Empty Array Inside a Struct?](https://forums.unrealengine.com/t/automatically-fill-assets-in-an-empty-array-inside-a-struct/130728)

<div class="topic-metadata">

**Author:** [@Agent\_Sckit](https://forums.unrealengine.com/u/Agent_Sckit)\
**Replies:** 0\
**Last updated:** [September 5, 2019, 11:45am UTC](https://forums.unrealengine.com/t/automatically-fill-assets-in-an-empty-array-inside-a-struct/130728 "2019-09-05T11:45:33Z")

</div>

Good day community! I’m new to the engine and hoping to find a method, if there exist, on how to solve my problem. I have a struct that contains array of sprites. Each array will contain 100 sprites of name “S\_example\_0”…

---

## [How to get Params from a section in Sequencer?](https://forums.unrealengine.com/t/how-to-get-params-from-a-section-in-sequencer/128861)

<div class="topic-metadata">

**Author:** [@ning.qin](https://forums.unrealengine.com/u/ning.qin)\
**Replies:** 2\
**Last updated:** [September 4, 2019, 2:23pm UTC](https://forums.unrealengine.com/t/how-to-get-params-from-a-section-in-sequencer/128861 "2019-09-04T14:23:51Z")

</div>

Hi, I followed this video to add tracks to Sequencer. Then I want to change the animations to others, I tried this to get the current animation: animation\_section.get\_editor\_property('Params') and unrea…

---

## [Modify bp components from Editor Utility Widget](https://forums.unrealengine.com/t/modify-bp-components-from-editor-utility-widget/221418)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4a7b7287](https://forums.unrealengine.com/u/anonymous_user_4a7b7287)\
**Replies:** 0\
**Last updated:** [September 4, 2019, 6:54am UTC](https://forums.unrealengine.com/t/modify-bp-components-from-editor-utility-widget/221418 "2019-09-04T06:54:52Z")

</div>

Hey im trying to make a Editor Utility Widget that modifies all sound sequence components( defined in C++, inherits from sound component ) on all actors on scene, but it doesnt seem to work, bps are not affected, is ther…

---

## [Python: Reference a C++ Class](https://forums.unrealengine.com/t/python-reference-a-c-class/454624)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_0846af92](https://forums.unrealengine.com/u/anonymous_user_0846af92)\
**Replies:** 1\
**Last updated:** [September 3, 2019, 2:55pm UTC](https://forums.unrealengine.com/t/python-reference-a-c-class/454624 "2019-09-03T14:55:48Z")

</div>

Hi all, I’m using Python to spawn a C++ class that derives from Actor. How can I get a reference to my C++ class, so that I can pass it to spawn\_actor? I’ve been using unreal.EditorAssetLibrary.load\_blueprint\_class, b…

---

## [How to handle the Begin Play events for actors added in the editor?](https://forums.unrealengine.com/t/how-to-handle-the-begin-play-events-for-actors-added-in-the-editor/318194)

<div class="topic-metadata">

**Author:** [@Stormrage256](https://forums.unrealengine.com/u/Stormrage256)\
**Replies:** 5\
**Last updated:** [September 3, 2019, 11:44am UTC](https://forums.unrealengine.com/t/how-to-handle-the-begin-play-events-for-actors-added-in-the-editor/318194 "2019-09-03T11:44:16Z")

</div>

Hi, I have a few actor blueprints that I have added to the level in the editor. All of them have executable code running as part of Event Begin Play. And in one case, the actor is referencing another one of these actors.…

---

## [How to create material and material instance using python ?](https://forums.unrealengine.com/t/how-to-create-material-and-material-instance-using-python/452436)

<div class="topic-metadata">

**Author:** [@TWTCz](https://forums.unrealengine.com/u/TWTCz)\
**Replies:** 3\
**Last updated:** [September 3, 2019, 4:01am UTC](https://forums.unrealengine.com/t/how-to-create-material-and-material-instance-using-python/452436 "2019-09-03T04:01:24Z")

</div>

i want to create a material and material instance of that material using python in unreal engine. From the unreal engine python doc i got this: This is the ‘raw’ way for creating a Material from unreal\_engine.classes …

---

## [Python: Reference a C++ Class](https://forums.unrealengine.com/t/python-reference-a-c-class/130452)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_0846af92](https://forums.unrealengine.com/u/anonymous_user_0846af92)\
**Replies:** 2\
**Last updated:** [September 2, 2019, 10:12am UTC](https://forums.unrealengine.com/t/python-reference-a-c-class/130452 "2019-09-02T10:12:32Z")

</div>

Hi all, I’m trying to spawn a C++ class that derives from Actor. How can I get a reference to my C++ class, so that I can pass it to spawn\_actor? I’ve been using unreal.EditorAssetLibrary.load\_blueprint\_class, but obv…

---

## [I want know where able to find best tutorial about Unreal python.](https://forums.unrealengine.com/t/i-want-know-where-able-to-find-best-tutorial-about-unreal-python/433560)

<div class="topic-metadata">

**Author:** [@Fish-1028](https://forums.unrealengine.com/u/Fish-1028)\
**Replies:** 4\
**Last updated:** [August 30, 2019, 1:51pm UTC](https://forums.unrealengine.com/t/i-want-know-where-able-to-find-best-tutorial-about-unreal-python/433560 "2019-08-30T13:51:22Z")

</div>

Hi developers! I tried using to python with unreal engine4. I guess There have 2 Python. First is legal type python like this. Second is this one. I found API documents but That is very complicated for me. I want …

---

## [UE 4.22 Python issue](https://forums.unrealengine.com/t/ue-4-22-python-issue/446092)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_83729e64](https://forums.unrealengine.com/u/anonymous_user_83729e64)\
**Replies:** 1\
**Last updated:** [August 30, 2019, 1:50pm UTC](https://forums.unrealengine.com/t/ue-4-22-python-issue/446092 "2019-08-30T13:50:55Z")

</div>

These lines don’t appear to work in 4.22. I installed the Python Editor Script Plugin, and included the import unreal, but the following lines fail when I execute the python script from the Unreal Editor command line. i…

---

## [Editor Hangs editing Level A which is Referenced by Level B and C.](https://forums.unrealengine.com/t/editor-hangs-editing-level-a-which-is-referenced-by-level-b-and-c/406713)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_bc2fd81a1](https://forums.unrealengine.com/u/anonymous_user_bc2fd81a1)\
**Replies:** 8\
**Last updated:** [August 30, 2019, 10:48am UTC](https://forums.unrealengine.com/t/editor-hangs-editing-level-a-which-is-referenced-by-level-b-and-c/406713 "2019-08-30T10:48:29Z")

</div>

4.18p4: Steps for Clean Project: Create Levels named A, B, C and save. Open B and C, and reference Level A (Drag A into their Levels Panel). Open A, and place some Actors. Save everything, and Restart the Editor (Impo…

---

## [Python: BlueprintImplementableEvent call fails](https://forums.unrealengine.com/t/python-blueprintimplementableevent-call-fails/454565)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_0846af92](https://forums.unrealengine.com/u/anonymous_user_0846af92)\
**Replies:** 3\
**Last updated:** [August 29, 2019, 2:35pm UTC](https://forums.unrealengine.com/t/python-blueprintimplementableevent-call-fails/454565 "2019-08-29T14:35:52Z")

</div>

Hi everyone, I’m looking to call a blueprint function from python. Whilst we wait for a direct interface to blueprint functions, I’m using a C++ declaration of my function with BlueprintImplementableEvent, which is the…

---

## [Selecting Existing uStructs from dropdown](https://forums.unrealengine.com/t/selecting-existing-ustructs-from-dropdown/382229)

<div class="topic-metadata">

**Author:** [@Ostoril](https://forums.unrealengine.com/u/Ostoril)\
**Replies:** 2\
**Last updated:** [August 27, 2019, 7:26pm UTC](https://forums.unrealengine.com/t/selecting-existing-ustructs-from-dropdown/382229 "2019-08-27T19:26:31Z")

</div>

So im working on a spaceship game and I have a list of CrewPositions (pilot, gunner, systems operator, mechanic, ect) and a list of crew members. Both are custom UStructs with unique data. One variable in CrewPositions …

---

## [atach a point light to vertex of an alembic file](https://forums.unrealengine.com/t/atach-a-point-light-to-vertex-of-an-alembic-file/130368)

<div class="topic-metadata">

**Author:** [@hadijam](https://forums.unrealengine.com/u/hadijam)\
**Replies:** 0\
**Last updated:** [August 27, 2019, 1:58pm UTC](https://forums.unrealengine.com/t/atach-a-point-light-to-vertex-of-an-alembic-file/130368 "2019-08-27T13:58:19Z")

</div>

Hello I need to attach a point light to a vertex of an animated Alembic. how can I achieve this? thank you

---

## [How to rotate a character in a particular direction?](https://forums.unrealengine.com/t/how-to-rotate-a-character-in-a-particular-direction/127959)

<div class="topic-metadata">

**Author:** [@exxecutioner](https://forums.unrealengine.com/u/exxecutioner)\
**Replies:** 2\
**Last updated:** [July 15, 2019, 9:06pm UTC](https://forums.unrealengine.com/t/how-to-rotate-a-character-in-a-particular-direction/127959 "2019-07-15T21:06:54Z")

</div>

This is an incredibly noobish question but for the life of me I haven’t been able to do it. I want to rotate my character in a particular direction, to face another object. I’ve tried a gazillion things but the rotation …

---

## [The making of Unused Assets viewer editor tool in BP](https://forums.unrealengine.com/t/the-making-of-unused-assets-viewer-editor-tool-in-bp/124699)

<div class="topic-metadata">

**Author:** [@Christoufu](https://forums.unrealengine.com/u/Christoufu)\
**Replies:** 4\
**Last updated:** [August 24, 2019, 12:16am UTC](https://forums.unrealengine.com/t/the-making-of-unused-assets-viewer-editor-tool-in-bp/124699 "2019-08-24T00:16:15Z")

</div>

I’m going to be documenting my progress here making a Unused Assets viewer with the new Editor Widget BP. The goal of this tool is to allow content makers to quickly get a view of all assets in the current project that …

---

## [Edit default 'Variable Name' of Actor Component](https://forums.unrealengine.com/t/edit-default-variable-name-of-actor-component/436697)

<div class="topic-metadata">

**Author:** [@Epok](https://forums.unrealengine.com/u/Epok)\
**Replies:** 5\
**Last updated:** [August 23, 2019, 8:28pm UTC](https://forums.unrealengine.com/t/edit-default-variable-name-of-actor-component/436697 "2019-08-23T20:28:42Z")

</div>

Hi, Is it possible to edit the default variable name when an actor component is created in blueprint? I’m aware of the DisplayName specifier in the UCLASS macro, but this only changes the name in the Add Component drop…

---

## [Create blueprint asset and add static mesh components from content browser via Python](https://forums.unrealengine.com/t/create-blueprint-asset-and-add-static-mesh-components-from-content-browser-via-python/126721)

<div class="topic-metadata">

**Author:** [@Totila](https://forums.unrealengine.com/u/Totila)\
**Replies:** 4\
**Last updated:** [August 22, 2019, 7:15pm UTC](https://forums.unrealengine.com/t/create-blueprint-asset-and-add-static-mesh-components-from-content-browser-via-python/126721 "2019-08-22T19:15:25Z")

</div>

Hi python experts, is there a way to create a blue print class asset and add static mesh components to that blueprint asset? I am searching for a way to mimic the import into level functionality which (if the option is…

---

## [Documentation for 4.23 Python scripting changes, specifically Sequencer enhancements](https://forums.unrealengine.com/t/documentation-for-4-23-python-scripting-changes-specifically-sequencer-enhancements/130187)

<div class="topic-metadata">

**Author:** [@Claudio.Alvaro](https://forums.unrealengine.com/u/Claudio.Alvaro)\
**Replies:** 0\
**Last updated:** [August 22, 2019, 3:15pm UTC](https://forums.unrealengine.com/t/documentation-for-4-23-python-scripting-changes-specifically-sequencer-enhancements/130187 "2019-08-22T15:15:43Z")

</div>

Hi there, Is there an ETA for this? Thanks!

---

## [Is It possible to use commandlet to import datasmith using UE4Editor-Cmd.exe?](https://forums.unrealengine.com/t/is-it-possible-to-use-commandlet-to-import-datasmith-using-ue4editor-cmd-exe/130172)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_5765932e](https://forums.unrealengine.com/u/anonymous_user_5765932e)\
**Replies:** 0\
**Last updated:** [August 22, 2019, 7:40am UTC](https://forums.unrealengine.com/t/is-it-possible-to-use-commandlet-to-import-datasmith-using-ue4editor-cmd-exe/130172 "2019-08-22T07:40:42Z")

</div>

I am trying to use UE4Editor-Cmd to run python to import datasmith file. However, I got the below errors. Please help. My datasmith file is called CW\_S0. The python code that I am using as below: destination\_folder = …

---

## [how to save user data when day play the game?( blueprint](https://forums.unrealengine.com/t/how-to-save-user-data-when-day-play-the-game-blueprint/453863)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_7a2251a1](https://forums.unrealengine.com/u/anonymous_user_7a2251a1)\
**Replies:** 5\
**Last updated:** [August 20, 2019, 2:50pm UTC](https://forums.unrealengine.com/t/how-to-save-user-data-when-day-play-the-game-blueprint/453863 "2019-08-20T14:50:50Z")

</div>

Hi, I am trying to create a 3d mobile game which is kind like flappy bird or jelly shift. My game will consist of 50 levels. However, I am not sure how can I save the user’s data. For example, how many levels did the pla…

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

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