# Editor Scripting

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

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

**Page:** 46

---

## [How to load game in UI blueprint?](https://forums.unrealengine.com/t/how-to-load-game-in-ui-blueprint/472168)

<div class="topic-metadata">

**Author:** [@EvilSinCrow](https://forums.unrealengine.com/u/EvilSinCrow)\
**Replies:** 1\
**Last updated:** [September 30, 2020, 10:42am UTC](https://forums.unrealengine.com/t/how-to-load-game-in-ui-blueprint/472168 "2020-09-30T10:42:22Z")

</div>

Hello, I’m new to UE4. Now I meet some questions on load game in UI blueprint. My questions as following: How to load game in UI blueprint? I’ve load game by LoadGameFromSlot, I can get the LevelName, PlayerLocation,…

---

## [s there an offline Python API package?](https://forums.unrealengine.com/t/s-there-an-offline-python-api-package/151393)

<div class="topic-metadata">

**Author:** [@walk\_fish](https://forums.unrealengine.com/u/walk_fish)\
**Replies:** 0\
**Last updated:** [September 29, 2020, 5:35pm UTC](https://forums.unrealengine.com/t/s-there-an-offline-python-api-package/151393 "2020-09-29T17:35:45Z")

</div>

I just want to learn, but I don’t have time online, so I want to have an offline Python API document

---

## [Exchange texture from Child-Material](https://forums.unrealengine.com/t/exchange-texture-from-child-material/151361)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_3714035a](https://forums.unrealengine.com/u/anonymous_user_3714035a)\
**Replies:** 0\
**Last updated:** [September 29, 2020, 10:21am UTC](https://forums.unrealengine.com/t/exchange-texture-from-child-material/151361 "2020-09-29T10:21:04Z")

</div>

I have a parent-Material and created several child-materials for landscape tiles. The parent material looks like this: https://forums.unrealengine.com/core/image/gif;base64 ​ I then create the child materials like…

---

## [AddUnique returning a lot of 0s](https://forums.unrealengine.com/t/addunique-returning-a-lot-of-0s/470749)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_59693a14](https://forums.unrealengine.com/u/anonymous_user_59693a14)\
**Replies:** 2\
**Last updated:** [September 3, 2020, 9:42am UTC](https://forums.unrealengine.com/t/addunique-returning-a-lot-of-0s/470749 "2020-09-03T09:42:41Z")

</div>

Hi there. I have been having issues with a task I am trying to complete. The task is to Receive an array of 100 integer variables which are randomly generated. Return values as output log. Array has unique random num…

---

## [Running stat console commands from a Python script, from the command line](https://forums.unrealengine.com/t/running-stat-console-commands-from-a-python-script-from-the-command-line/151060)

<div class="topic-metadata">

**Author:** [@darkczar](https://forums.unrealengine.com/u/darkczar)\
**Replies:** 3\
**Last updated:** [September 25, 2020, 8:42pm UTC](https://forums.unrealengine.com/t/running-stat-console-commands-from-a-python-script-from-the-command-line/151060 "2020-09-25T20:42:02Z")

</div>

I want to loop over particle systems in the Editor and collect stat gpu information. I have everything working except this line: unreal.SystemLibrary.execute\_console\_command(unreal.EditorLevelLibrary.get\_editor\_world()…

---

## [Drag And Drop In Inventory Makes Items Dissapear!](https://forums.unrealengine.com/t/drag-and-drop-in-inventory-makes-items-dissapear/471921)

<div class="topic-metadata">

**Author:** [@A\_d-235f](https://forums.unrealengine.com/u/A_d-235f)\
**Replies:** 0\
**Last updated:** [September 25, 2020, 11:40am UTC](https://forums.unrealengine.com/t/drag-and-drop-in-inventory-makes-items-dissapear/471921 "2020-09-25T11:40:14Z")

</div>

Hello. I’ve made an inventory system and for the last 5 days i’ve been trying to do Drag And Drop. I got most things to work but at Random times if the item is \> 1 then it sometimes dissapears when i try to move it. Here …

---

## [How can I get the 'easing' property by Python Script?](https://forums.unrealengine.com/t/how-can-i-get-the-easing-property-by-python-script/471920)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2524a3ff](https://forums.unrealengine.com/u/anonymous_user_2524a3ff)\
**Replies:** 0\
**Last updated:** [September 25, 2020, 10:56am UTC](https://forums.unrealengine.com/t/how-can-i-get-the-easing-property-by-python-script/471920 "2020-09-25T10:56:45Z")

</div>

I tried to get the ‘easing’(a property) of a section by the get\_editor\_property(“easing”), but I found that the class MovieSceneEasingSettins is an empty class without any variables。Are there any methods I can use to ge…

---

## [Fetching List Data](https://forums.unrealengine.com/t/fetching-list-data/151188)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_6c0514b9](https://forums.unrealengine.com/u/anonymous_user_6c0514b9)\
**Replies:** 0\
**Last updated:** [September 25, 2020, 9:59am UTC](https://forums.unrealengine.com/t/fetching-list-data/151188 "2020-09-25T09:59:46Z")

</div>

How can I get the list of all levels in the current project via python and also all the list of maps used. And also how can i get the file path of the current project via python as well?

---

## [Reduce Gap Between Inventory Slots.](https://forums.unrealengine.com/t/reduce-gap-between-inventory-slots/471867)

<div class="topic-metadata">

**Author:** [@A\_d-235f](https://forums.unrealengine.com/u/A_d-235f)\
**Replies:** 4\
**Last updated:** [September 24, 2020, 8:02pm UTC](https://forums.unrealengine.com/t/reduce-gap-between-inventory-slots/471867 "2020-09-24T20:02:20Z")

</div>

Hello, I’m making an inventory and i spawn each slot in a grid like this: Imgur: The magic of the Internet Slot Spawning posted by anonymous | blueprintUE | PasteBin For Unreal Engine 4 The slot spawn works great as s…

---

## [Programmatically attached components cannot be scaled or moved](https://forums.unrealengine.com/t/programmatically-attached-components-cannot-be-scaled-or-moved/151138)

<div class="topic-metadata">

**Author:** [@c\_v1977](https://forums.unrealengine.com/u/c_v1977)\
**Replies:** 0\
**Last updated:** [September 24, 2020, 11:00am UTC](https://forums.unrealengine.com/t/programmatically-attached-components-cannot-be-scaled-or-moved/151138 "2020-09-24T11:00:11Z")

</div>

Unlike components that are added to an actor within the editor, components that are added and attached within a blueprint do not appear in the component list, and cannot be moved or scaled. Is there a way to fix this?

---

## [How to link parameters of Houdini Digital Asset to a slider ?](https://forums.unrealengine.com/t/how-to-link-parameters-of-houdini-digital-asset-to-a-slider/151136)

<div class="topic-metadata">

**Author:** [@Ben3DMaster](https://forums.unrealengine.com/u/Ben3DMaster)\
**Replies:** 0\
**Last updated:** [September 24, 2020, 9:36am UTC](https://forums.unrealengine.com/t/how-to-link-parameters-of-houdini-digital-asset-to-a-slider/151136 "2020-09-24T09:36:56Z")

</div>

How to link parameters of Houdini Digital Asset to a slider and change it on runtime, for example i created a simple digital asset in houdini that has parameteres and with those parameteres you can change the shape of th…

---

## [Get Parent Actor not working](https://forums.unrealengine.com/t/get-parent-actor-not-working/150936)

<div class="topic-metadata">

**Author:** [@HespKass](https://forums.unrealengine.com/u/HespKass)\
**Replies:** 2\
**Last updated:** [September 24, 2020, 8:14am UTC](https://forums.unrealengine.com/t/get-parent-actor-not-working/150936 "2020-09-24T08:14:46Z")

</div>

Im making a VR game and im currently working on a snap grab system, where the object snaps to your hand. I have got stuck though because the grabbing system works by having a snap grab base and the actual snap grab actor…

---

## [Lerp not Lerping](https://forums.unrealengine.com/t/lerp-not-lerping/151078)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d3dfecd91](https://forums.unrealengine.com/u/anonymous_user_d3dfecd91)\
**Replies:** 0\
**Last updated:** [September 23, 2020, 5:43am UTC](https://forums.unrealengine.com/t/lerp-not-lerping/151078 "2020-09-23T05:43:46Z")

</div>

I’m setting up a first person character. Now I have it set up so that while crouched if sprint is pressed character stands up and sprints. The first time the change in height and speed while standing up is gradual (as in…

---

## [inheritance in structs?](https://forums.unrealengine.com/t/inheritance-in-structs/432267)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4116411d](https://forums.unrealengine.com/u/anonymous_user_4116411d)\
**Replies:** 9\
**Last updated:** [September 22, 2020, 5:50pm UTC](https://forums.unrealengine.com/t/inheritance-in-structs/432267 "2020-09-22T17:50:00Z")

</div>

i am currently trying to make an inventory system in unreal and wanted to use a struct for the items, my idea was to have a struct that haves a name and then have children for Gun, consumable, resource, each of them with…

---

## [Astroneer Style Object Interaction](https://forums.unrealengine.com/t/astroneer-style-object-interaction/471735)

<div class="topic-metadata">

**Author:** [@Freak223](https://forums.unrealengine.com/u/Freak223)\
**Replies:** 1\
**Last updated:** [September 22, 2020, 12:48pm UTC](https://forums.unrealengine.com/t/astroneer-style-object-interaction/471735 "2020-09-22T12:48:41Z")

</div>

I want to make a system for interacting with objects that is similar to how it works in Astroneer. When you interact with your backpack or any machinery it detaches from wherever it is and floats in front of the camera t…

---

## [Add sub LevelSequence track with python](https://forums.unrealengine.com/t/add-sub-levelsequence-track-with-python/150862)

<div class="topic-metadata">

**Author:** [@Tom\_Nexus\_Stud](https://forums.unrealengine.com/u/Tom_Nexus_Stud)\
**Replies:** 1\
**Last updated:** [September 22, 2020, 8:31am UTC](https://forums.unrealengine.com/t/add-sub-levelsequence-track-with-python/150862 "2020-09-22T08:31:26Z")

</div>

Hi, I need to automate some steps that assemble the basis in Sequencer. Done manually, what I need to do is: Double click a “MASTER” LevelSequence, to open it in Sequencer Drag a second “Shot01” LevelSequence into the …

---

## [How to control character movement in Linux/Python at RUNTIME?](https://forums.unrealengine.com/t/how-to-control-character-movement-in-linux-python-at-runtime/151029)

<div class="topic-metadata">

**Author:** [@itachi\_lyc](https://forums.unrealengine.com/u/itachi_lyc)\
**Replies:** 0\
**Last updated:** [September 22, 2020, 8:17am UTC](https://forums.unrealengine.com/t/how-to-control-character-movement-in-linux-python-at-runtime/151029 "2020-09-22T08:17:18Z")

</div>

Hey guys I’m wondering how I can type some commands and give them to Unreal as RUNTIME input? So that I can possibly control the character’s movement by a file! Python would be okay as well!

---

## [For Each Loop does not use last index.](https://forums.unrealengine.com/t/for-each-loop-does-not-use-last-index/471723)

<div class="topic-metadata">

**Author:** [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Replies:** 1\
**Last updated:** [September 22, 2020, 12:44am UTC](https://forums.unrealengine.com/t/for-each-loop-does-not-use-last-index/471723 "2020-09-22T00:44:38Z")

</div>

I am trying to pass my saved slot names to their text boxes on loading a menu widget. 10 slots. All 9 work sweet. 10th does not show NO MATTER WHAT. Any ideas please? UPDATE: It seems like it is not even saving.

---

## [My question is how do i access a var from one level bp to use in another level bp?](https://forums.unrealengine.com/t/my-question-is-how-do-i-access-a-var-from-one-level-bp-to-use-in-another-level-bp/471656)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Replies:** 10\
**Last updated:** [September 21, 2020, 8:03pm UTC](https://forums.unrealengine.com/t/my-question-is-how-do-i-access-a-var-from-one-level-bp-to-use-in-another-level-bp/471656 "2020-09-21T20:03:34Z")

</div>

Save / load the variable.

---

## [JSON to UStruct: Array of float-Arrays](https://forums.unrealengine.com/t/json-to-ustruct-array-of-float-arrays/468138)

<div class="topic-metadata">

**Author:** [@lorenzb](https://forums.unrealengine.com/u/lorenzb)\
**Replies:** 1\
**Last updated:** [September 21, 2020, 5:04pm UTC](https://forums.unrealengine.com/t/json-to-ustruct-array-of-float-arrays/468138 "2020-09-21T17:04:52Z")

</div>

I’m receiving json data such as: { "key1" : "value1", "key2" : \[ \[1.5, 2.0, 4.15\], \[3.4, 1.2, 5.18\], \] } I’m trying to parse this to UStruct like: USTRUCT() struct FJsonData{ GENERATED\_BO…

---

## [Making objects like components or actors easily selectable](https://forums.unrealengine.com/t/making-objects-like-components-or-actors-easily-selectable/150951)

<div class="topic-metadata">

**Author:** [@illYay](https://forums.unrealengine.com/u/illYay)\
**Replies:** 1\
**Last updated:** [September 21, 2020, 7:38am UTC](https://forums.unrealengine.com/t/making-objects-like-components-or-actors-easily-selectable/150951 "2020-09-21T07:38:19Z")

</div>

Let’s say I have a Scene Component. It’s currently unselectable since there’s no mesh or anything associated with it. I have to manually find it in the components list of my blueprint. Or if I have a box or sphere col…

---

## [need help with array selection](https://forums.unrealengine.com/t/need-help-with-array-selection/471621)

<div class="topic-metadata">

**Author:** [@Wickie](https://forums.unrealengine.com/u/Wickie)\
**Replies:** 2\
**Last updated:** [September 19, 2020, 11:54pm UTC](https://forums.unrealengine.com/t/need-help-with-array-selection/471621 "2020-09-19T23:54:24Z")

</div>

Create an interim array of colors (probably in the Game Instance), and when one color is selected, remove it from the interim array. When you need it, you can populate the interim with the values from the original array …

---

## [getting boolean from other BP](https://forums.unrealengine.com/t/getting-boolean-from-other-bp/471518)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_cca77e23](https://forums.unrealengine.com/u/anonymous_user_cca77e23)\
**Replies:** 2\
**Last updated:** [September 19, 2020, 11:29pm UTC](https://forums.unrealengine.com/t/getting-boolean-from-other-bp/471518 "2020-09-19T23:29:06Z")

</div>

how can I get the boolean variable from BP\_PickupCube into my Animation BP?

---

## [How to put these resources into the new level through Python](https://forums.unrealengine.com/t/how-to-put-these-resources-into-the-new-level-through-python/150697)

<div class="topic-metadata">

**Author:** [@DengTaLiangLe](https://forums.unrealengine.com/u/DengTaLiangLe)\
**Replies:** 1\
**Last updated:** [September 19, 2020, 8:58am UTC](https://forums.unrealengine.com/t/how-to-put-these-resources-into-the-new-level-through-python/150697 "2020-09-19T08:58:23Z")

</div>

I want to put this resource into the scene through python, and put it in, regardless of the location. How should scripts be written?

---

## [Script example of mass changes to assets?](https://forums.unrealengine.com/t/script-example-of-mass-changes-to-assets/149761)

<div class="topic-metadata">

**Author:** [@Shmoopy1701](https://forums.unrealengine.com/u/Shmoopy1701)\
**Replies:** 2\
**Last updated:** [September 18, 2020, 4:19pm UTC](https://forums.unrealengine.com/t/script-example-of-mass-changes-to-assets/149761 "2020-09-18T16:19:25Z")

</div>

Just getting started on scripting. Any examples out there of changing asset parameters via scripting? What I want to do: iterate through every static mesh in the project change LOD setting based on largest mesh XYZ app…

---

## [widget is getting reverse](https://forums.unrealengine.com/t/widget-is-getting-reverse/471529)

<div class="topic-metadata">

**Author:** [@Rag1804](https://forums.unrealengine.com/u/Rag1804)\
**Replies:** 2\
**Last updated:** [September 18, 2020, 2:49pm UTC](https://forums.unrealengine.com/t/widget-is-getting-reverse/471529 "2020-09-18T14:49:07Z")

</div>

i was changing the widget angle with touch location but and kept divided it into 5 parts but if i didn’t keep those conditions everything is working fine but when i go from part 5 to part 4 the whole widget is going re…

---

## [Getting LightMap Override Value](https://forums.unrealengine.com/t/getting-lightmap-override-value/150586)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_bf1e36f7](https://forums.unrealengine.com/u/anonymous_user_bf1e36f7)\
**Replies:** 2\
**Last updated:** [September 17, 2020, 3:47pm UTC](https://forums.unrealengine.com/t/getting-lightmap-override-value/150586 "2020-09-17T15:47:19Z")

</div>

I’ve just started playing around with Unreal, and I have a couple of questions that I’m finding hard to google. My background is within 3D, but this is the first time playing around with a game engine, so please bear wit…

---

## [Static Mesh Triangle Count](https://forums.unrealengine.com/t/static-mesh-triangle-count/147302)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_cfc18edb](https://forums.unrealengine.com/u/anonymous_user_cfc18edb)\
**Replies:** 2\
**Last updated:** [September 17, 2020, 12:52am UTC](https://forums.unrealengine.com/t/static-mesh-triangle-count/147302 "2020-09-17T00:52:11Z")

</div>

Hello, I’m wondering if anyone knows a way to get the triangle count of a static mesh through python. Thanks!

---

## [Auto Material Assignment](https://forums.unrealengine.com/t/auto-material-assignment/149208)

<div class="topic-metadata">

**Author:** [@Sorai](https://forums.unrealengine.com/u/Sorai)\
**Replies:** 2\
**Last updated:** [September 17, 2020, 12:07am UTC](https://forums.unrealengine.com/t/auto-material-assignment/149208 "2020-09-17T00:07:13Z")

</div>

https://forums.unrealengine.com/core/create-content/text/ https://forums.unrealengine.com/core/create-content/text/ I’m trying to make a Blutility that allows me to selec…

---

## [How to import static mesh lods that are stored in seperate .fbx files via python](https://forums.unrealengine.com/t/how-to-import-static-mesh-lods-that-are-stored-in-seperate-fbx-files-via-python/150351)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_3714035a](https://forums.unrealengine.com/u/anonymous_user_3714035a)\
**Replies:** 1\
**Last updated:** [September 16, 2020, 11:22pm UTC](https://forums.unrealengine.com/t/how-to-import-static-mesh-lods-that-are-stored-in-seperate-fbx-files-via-python/150351 "2020-09-16T23:22:26Z")

</div>

I have many meshes and their lod representation in seperate fbx files, e.g. tile0\_LOD0.fbx tile0\_LOD1.fbx tile0\_LOD2.fbx etc. How do I import the LOD1, LOD2 of tile0 via python? Thank you in advance!

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

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