# Editor Scripting

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

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

**Page:** 39

---

## [How to use Arrays in Blackboard?](https://forums.unrealengine.com/t/how-to-use-arrays-in-blackboard/480726)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d5d5615f](https://forums.unrealengine.com/u/anonymous_user_d5d5615f)\
**Replies:** 1\
**Last updated:** [March 25, 2021, 3:06pm UTC](https://forums.unrealengine.com/t/how-to-use-arrays-in-blackboard/480726 "2021-03-25T15:06:25Z")

</div>

I’m new to UE4 and am having trouble wrapping my head around this issue. I’m trying to get AI Characters to walk around a room, look at points of interest, and leave when the list is exhausted. I’d like to do it with the…

---

## [Python API to Start or Stop PIE](https://forums.unrealengine.com/t/python-api-to-start-or-stop-pie/480733)

<div class="topic-metadata">

**Author:** [@KwanYong](https://forums.unrealengine.com/u/KwanYong)\
**Replies:** 0\
**Last updated:** [March 23, 2021, 4:55am UTC](https://forums.unrealengine.com/t/python-api-to-start-or-stop-pie/480733 "2021-03-23T04:55:02Z")

</div>

Hi, I want to use Python API to start or stop pie in UE4. I want to press stop and start(Alt+P) using python code. Is there any module or document I can use? I am using Python 3.9.2

---

## [Animation looping interpolation](https://forums.unrealengine.com/t/animation-looping-interpolation/389202)

<div class="topic-metadata">

**Author:** [@Meowstopher](https://forums.unrealengine.com/u/Meowstopher)\
**Replies:** 2\
**Last updated:** [March 21, 2021, 11:31pm UTC](https://forums.unrealengine.com/t/animation-looping-interpolation/389202 "2021-03-21T23:31:06Z")

</div>

I feel like this should be pretty easy to find, but I’ve had no luck… Is there a way to have a skeletal mesh animation interpolate from the last frame to the first while looping? Without this, I’m finding it rather dif…

---

## [Implement Blueprint Interface from Python API](https://forums.unrealengine.com/t/implement-blueprint-interface-from-python-api/210839)

<div class="topic-metadata">

**Author:** [@artakattack](https://forums.unrealengine.com/u/artakattack)\
**Replies:** 0\
**Last updated:** [March 21, 2021, 5:04pm UTC](https://forums.unrealengine.com/t/implement-blueprint-interface-from-python-api/210839 "2021-03-21T17:04:44Z")

</div>

Hi devs, I want to implement a blueprint interface (like how you’d do it within the blueprint editor in the attached image) but from within the Python API. I cannot seem to locate how to do this in the API. Is there a…

---

## [Equivalent Scripting API to "Fix up Redirectors in Folder"?](https://forums.unrealengine.com/t/equivalent-scripting-api-to-fix-up-redirectors-in-folder/447638)

<div class="topic-metadata">

**Author:** [@kakyoism](https://forums.unrealengine.com/u/kakyoism)\
**Replies:** 1\
**Last updated:** [March 20, 2021, 5:56pm UTC](https://forums.unrealengine.com/t/equivalent-scripting-api-to-fix-up-redirectors-in-folder/447638 "2021-03-20T17:56:52Z")

</div>

Moving and renaming assets in Content Browser must be followed by a Fix up Redirectors in Folder op when done by hand. Is there an equivalent Python API? According to the doc: I should scan the ENTIRE project to fix u…

---

## [Remove menu/buttons: is this possible?](https://forums.unrealengine.com/t/remove-menu-buttons-is-this-possible/210575)

<div class="topic-metadata">

**Author:** [@jobim](https://forums.unrealengine.com/u/jobim)\
**Replies:** 2\
**Last updated:** [March 19, 2021, 11:49am UTC](https://forums.unrealengine.com/t/remove-menu-buttons-is-this-possible/210575 "2021-03-19T11:49:18Z")

</div>

Hi, I want to create a “mod” of the unreal editor: I’d like to: replace top file/edit/window/help menus with new menus change contextual menus remove safe / modes / content / etc… buttons and replace them with new butt…

---

## [How to make a finite state machine with blueprints to make a 3d platform game like mario 64](https://forums.unrealengine.com/t/how-to-make-a-finite-state-machine-with-blueprints-to-make-a-3d-platform-game-like-mario-64/210687)

<div class="topic-metadata">

**Author:** [@Lag2015](https://forums.unrealengine.com/u/Lag2015)\
**Replies:** 0\
**Last updated:** [March 18, 2021, 4:39am UTC](https://forums.unrealengine.com/t/how-to-make-a-finite-state-machine-with-blueprints-to-make-a-3d-platform-game-like-mario-64/210687 "2021-03-18T04:39:03Z")

</div>

Hi, I’m creating a game like mario 64, in which the character can move, jump, hit, kick in the air, swim, climb stairs, etc, etc, my question would be what would be the best way to do this? I have achieved something usi…

---

## [Can you change MPC vars at runtime with a script?](https://forums.unrealengine.com/t/can-you-change-mpc-vars-at-runtime-with-a-script/210660)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d37884ce](https://forums.unrealengine.com/u/anonymous_user_d37884ce)\
**Replies:** 0\
**Last updated:** [March 17, 2021, 3:22pm UTC](https://forums.unrealengine.com/t/can-you-change-mpc-vars-at-runtime-with-a-script/210660 "2021-03-17T15:22:44Z")

</div>

Is it possible to change the value of Material Parameter Collection variables during runtime with Python (or any other language)? I’m using version 4.24.1 of UE4, and Python 3.8.5. I currently have this set up to be a …

---

## [Create Blueprint graphs from C++](https://forums.unrealengine.com/t/create-blueprint-graphs-from-c/210654)

<div class="topic-metadata">

**Author:** [@GuillaumeCote](https://forums.unrealengine.com/u/GuillaumeCote)\
**Replies:** 0\
**Last updated:** [March 17, 2021, 1:07pm UTC](https://forums.unrealengine.com/t/create-blueprint-graphs-from-c/210654 "2021-03-17T13:07:39Z")

</div>

Hi everyone! I’m trying to create Blueprint node graphs from a file with C++ code. You know you can ctrl+C blueprint nodes, paste them into a text file, send the text file to someone else and then they can paste that te…

---

## [How to add a variable to a texture?](https://forums.unrealengine.com/t/how-to-add-a-variable-to-a-texture/480189)

<div class="topic-metadata">

**Author:** [@1523cacchase](https://forums.unrealengine.com/u/1523cacchase)\
**Replies:** 10\
**Last updated:** [March 16, 2021, 8:56pm UTC](https://forums.unrealengine.com/t/how-to-add-a-variable-to-a-texture/480189 "2021-03-16T20:56:23Z")

</div>

Hello everyone :slight\_smile: I want there to be a sign in a city that says “Welcome To (City Name)!” I want the player the be able to change the name of the city. How can I make it so that the sign says the city name t…

---

## [Saving a Boolean Doesn't Work](https://forums.unrealengine.com/t/saving-a-boolean-doesnt-work/480395)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Replies:** 1\
**Last updated:** [March 16, 2021, 7:23pm UTC](https://forums.unrealengine.com/t/saving-a-boolean-doesnt-work/480395 "2021-03-16T19:23:26Z")

</div>

What i am trying to do is saving the opened boolean, ok so basically when you open the chest you can loot it, and let’s say you pick something up from the chest, you wouldn’t want it showing up again when you open it for…

---

## [Scaling bone in single axis creating wobbly/bouncy animation](https://forums.unrealengine.com/t/scaling-bone-in-single-axis-creating-wobbly-bouncy-animation/467756)

<div class="topic-metadata">

**Author:** [@Subjuhgater](https://forums.unrealengine.com/u/Subjuhgater)\
**Replies:** 1\
**Last updated:** [March 16, 2021, 2:47am UTC](https://forums.unrealengine.com/t/scaling-bone-in-single-axis-creating-wobbly-bouncy-animation/467756 "2021-03-16T02:47:04Z")

</div>

I have a very simple rig with 4 bones in a straight line. I have scaled the first bone in the hierarchy in a single axis (Y-axis) in order to shrink the geometry. In Maya this behaves perfectly but upon importing into …

---

## [Using Python to Import Custom LODs](https://forums.unrealengine.com/t/using-python-to-import-custom-lods/210586)

<div class="topic-metadata">

**Author:** [@Rayvneye](https://forums.unrealengine.com/u/Rayvneye)\
**Replies:** 0\
**Last updated:** [March 16, 2021, 12:27am UTC](https://forums.unrealengine.com/t/using-python-to-import-custom-lods/210586 "2021-03-16T00:27:16Z")

</div>

I’m writing a pipeline tool that will import and/or reimport custom LODs from source files. I have not been able to locate much information on the subject. I did find this class unreal.EditorSkeletalMeshLibrary — Unrea…

---

## [Saved Game Data lost after uploading update](https://forums.unrealengine.com/t/saved-game-data-lost-after-uploading-update/480333)

<div class="topic-metadata">

**Author:** [@AwesomeAntelope](https://forums.unrealengine.com/u/AwesomeAntelope)\
**Replies:** 13\
**Last updated:** [March 15, 2021, 6:40pm UTC](https://forums.unrealengine.com/t/saved-game-data-lost-after-uploading-update/480333 "2021-03-15T18:40:09Z")

</div>

It seems that when I upload a new update on the Play Store, it resets / gets rid of all the saved game data done in the app. I use local saves, nothing fancy. Is there a way around this or what am I missing? Note: I rea…

---

## [変化する変数の値の時間あたりの変化を調べるにはどうすればいいですか。](https://forums.unrealengine.com/t/topic/480180)

<div class="topic-metadata">

**Author:** [@swocw](https://forums.unrealengine.com/u/swocw)\
**Replies:** 6\
**Last updated:** [March 15, 2021, 4:31pm UTC](https://forums.unrealengine.com/t/topic/480180 "2021-03-15T16:31:19Z")

</div>

変化する変数の値の時間あたりの変化を調べるにはどうすればいいですか。

---

## [Sequencer Scripting to Export Data](https://forums.unrealengine.com/t/sequencer-scripting-to-export-data/129093)

<div class="topic-metadata">

**Author:** [@dschertenleib](https://forums.unrealengine.com/u/dschertenleib)\
**Replies:** 4\
**Last updated:** [March 12, 2021, 7:45pm UTC](https://forums.unrealengine.com/t/sequencer-scripting-to-export-data/129093 "2021-03-12T19:45:55Z")

</div>

Hi, i am searching for ways to export sequencer data to text files. For example, i create a sequence by keyframing some lights properties like color and intensity. Next i would like to be able to read each light, parse…

---

## [Python selected Folders](https://forums.unrealengine.com/t/python-selected-folders/210446)

<div class="topic-metadata">

**Author:** [@akiSTAUD](https://forums.unrealengine.com/u/akiSTAUD)\
**Replies:** 0\
**Last updated:** [March 12, 2021, 2:50pm UTC](https://forums.unrealengine.com/t/python-selected-folders/210446 "2021-03-12T14:50:30Z")

</div>

Hello unreal com, I am looking for a possebility to ge the selected folders from the context browser. In the documentation I only find some thing for the LevelSequence. Would be great to get a Python approach and not a…

---

## [How to get Blueprint "ParentClass" property from Python?](https://forums.unrealengine.com/t/how-to-get-blueprint-parentclass-property-from-python/480173)

<div class="topic-metadata">

**Author:** [@hman278](https://forums.unrealengine.com/u/hman278)\
**Replies:** 0\
**Last updated:** [March 12, 2021, 11:32am UTC](https://forums.unrealengine.com/t/how-to-get-blueprint-parentclass-property-from-python/480173 "2021-03-12T11:32:05Z")

</div>

Hi, I am trying to get Blueprint object ParentClass property for a custom plugin but it is protected, is there any other way I could access it? ue.log(ue.load\_asset(name="Blueprint'/Game/NewBlueprint1.NewBlueprint1'").g…

---

## [Editor scripting : load a sublevel into the current persistent level](https://forums.unrealengine.com/t/editor-scripting-load-a-sublevel-into-the-current-persistent-level/480130)

<div class="topic-metadata">

**Author:** [@Bleeck](https://forums.unrealengine.com/u/Bleeck)\
**Replies:** 0\
**Last updated:** [March 11, 2021, 5:51pm UTC](https://forums.unrealengine.com/t/editor-scripting-load-a-sublevel-into-the-current-persistent-level/480130 "2021-03-11T17:51:41Z")

</div>

Hello, I can’t seem to find a way to load an unloaded level from either blueprint or python. I’ve managed to make the sublevel the “Current Level” but only if it was already loaded. This doesn’t help me. I’m working on …

---

## [Get BPs components by python](https://forums.unrealengine.com/t/get-bps-components-by-python/210376)

<div class="topic-metadata">

**Author:** [@Mike\_M](https://forums.unrealengine.com/u/Mike_M)\
**Replies:** 3\
**Last updated:** [March 11, 2021, 3:13pm UTC](https://forums.unrealengine.com/t/get-bps-components-by-python/210376 "2021-03-11T15:13:20Z")

</div>

Hi! Could anyone help with accessing blueprint components via python? I have a BP with few static meshes inside, and I want to manipulate them (like, copy transformations, remove, rename etc) I managed to get selected a…

---

## [アイテム管理システムの原型を作りたい](https://forums.unrealengine.com/t/topic/480089)

<div class="topic-metadata">

**Author:** [@Anonymous\_e49b8a3045cafbf4f5eb99d45932d622](https://forums.unrealengine.com/u/Anonymous_e49b8a3045cafbf4f5eb99d45932d622)\
**Replies:** 3\
**Last updated:** [March 11, 2021, 2:58pm UTC](https://forums.unrealengine.com/t/topic/480089 "2021-03-11T14:58:07Z")

</div>

質問を見て下さりありがとうございます。 私はUE4を学び始めて２ヵ月の初心者です。 AnswerHubJapaneseにある「アイテム名と個数を同時に管理したい」を参考にアイテム管理システム（例えるなネット通販のショッピングカートの中のようなもの）の原型を作ろうとしています。以下のノードを組んだところ 商品を選択し、カートに入れることには成功しました。 以下Bボタンを押すと商品がカートに入るノード 変数Shopli…

---

## [Add component to a blueprint Actor by Python](https://forums.unrealengine.com/t/add-component-to-a-blueprint-actor-by-python/450607)

<div class="topic-metadata">

**Author:** [@bbn24b](https://forums.unrealengine.com/u/bbn24b)\
**Replies:** 3\
**Last updated:** [March 11, 2021, 8:55am UTC](https://forums.unrealengine.com/t/add-component-to-a-blueprint-actor-by-python/450607 "2021-03-11T08:55:23Z")

</div>

how can I add some components,such as static mesh to a Blueprint actor by using Python? Thanks in advanced

---

## [Set Default Transform Rotation Values in Editor Broken?](https://forums.unrealengine.com/t/set-default-transform-rotation-values-in-editor-broken/369162)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_afa9edf11](https://forums.unrealengine.com/u/anonymous_user_afa9edf11)\
**Replies:** 4\
**Last updated:** [March 11, 2021, 1:08am UTC](https://forums.unrealengine.com/t/set-default-transform-rotation-values-in-editor-broken/369162 "2021-03-11T01:08:14Z")

</div>

If you create a transform variable in a blueprint, and try to set the default rotation values in the editor, it jumps to different values.If I try to insert 90 as the value for x,y,and z, after pressing enter either the …

---

## [Python scripting plugin doesn't work](https://forums.unrealengine.com/t/python-scripting-plugin-doesnt-work/118561)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2ecd943e](https://forums.unrealengine.com/u/anonymous_user_2ecd943e)\
**Replies:** 7\
**Last updated:** [March 10, 2021, 9:17pm UTC](https://forums.unrealengine.com/t/python-scripting-plugin-doesnt-work/118561 "2021-03-10T21:17:57Z")

</div>

I’ve been trying to enable the plugin as described in Scripting the Unreal Editor Using Python | Unreal Engine 5.2 Documentation, but without success. I enabled Python Editor Script Plugin and Editor Scripting Utilities…

---

## [How to modify SceneComponent type in base class, derived classes, and placed instances?](https://forums.unrealengine.com/t/how-to-modify-scenecomponent-type-in-base-class-derived-classes-and-placed-instances/210343)

<div class="topic-metadata">

**Author:** [@muchcharles](https://forums.unrealengine.com/u/muchcharles)\
**Replies:** 0\
**Last updated:** [March 9, 2021, 11:02pm UTC](https://forums.unrealengine.com/t/how-to-modify-scenecomponent-type-in-base-class-derived-classes-and-placed-instances/210343 "2021-03-09T23:02:57Z")

</div>

I have a blueprint base actor with a UWidgetComponent, and then several derived variants that only change the transform of the component. Also many placed instances of these various derived classes that in some cases cha…

---

## [sink my box with using key press.](https://forums.unrealengine.com/t/sink-my-box-with-using-key-press/210243)

<div class="topic-metadata">

**Author:** [@Natemo](https://forums.unrealengine.com/u/Natemo)\
**Replies:** 0\
**Last updated:** [March 7, 2021, 10:31pm UTC](https://forums.unrealengine.com/t/sink-my-box-with-using-key-press/210243 "2021-03-07T22:31:48Z")

</div>

I can figure out the visual scripting but i can figure out how to get the pontoon var from the buoancy componet. once i do this i can and get the Var and use math on it to make it sink. Im having issues getting the var …

---

## [Why is not working after Z key enter to add member into array structure?](https://forums.unrealengine.com/t/why-is-not-working-after-z-key-enter-to-add-member-into-array-structure/479732)

<div class="topic-metadata">

**Author:** [@FDEngine](https://forums.unrealengine.com/u/FDEngine)\
**Replies:** 4\
**Last updated:** [March 6, 2021, 5:54am UTC](https://forums.unrealengine.com/t/why-is-not-working-after-z-key-enter-to-add-member-into-array-structure/479732 "2021-03-06T05:54:29Z")

</div>

I set two array (two member) into info structure so it has two member to show two button in viewport. I want to add member (addmember event) to insert info array when pressing ‘Z’ keyboard. It was supposed to get three m…

---

## [End Component Overlap happens when changing variables in Simulation mode](https://forums.unrealengine.com/t/end-component-overlap-happens-when-changing-variables-in-simulation-mode/479722)

<div class="topic-metadata">

**Author:** [@RealCoder](https://forums.unrealengine.com/u/RealCoder)\
**Replies:** 0\
**Last updated:** [March 3, 2021, 8:34pm UTC](https://forums.unrealengine.com/t/end-component-overlap-happens-when-changing-variables-in-simulation-mode/479722 "2021-03-03T20:34:07Z")

</div>

Hi! I’ve found very strange behavior of End Component Overlap event. Steps to reproduce: Create empty project. Create a simple blueprint with a cube mesh and a sphere collider. Add print functions to begin overlap and…

---

## [Where is python installed to?](https://forums.unrealengine.com/t/where-is-python-installed-to/158623)

<div class="topic-metadata">

**Author:** [@Thant425](https://forums.unrealengine.com/u/Thant425)\
**Replies:** 2\
**Last updated:** [March 3, 2021, 8:15pm UTC](https://forums.unrealengine.com/t/where-is-python-installed-to/158623 "2021-03-03T20:15:57Z")

</div>

So I was reading over the unreal docs in the scripting with python section and it mentions that there is no need to install python as it comes with the unreal installation. I see it showing in the windows programs list. …

---

## [Python Fbx Import Animation Sequence only](https://forums.unrealengine.com/t/python-fbx-import-animation-sequence-only/479678)

<div class="topic-metadata">

**Author:** [@gloogloox](https://forums.unrealengine.com/u/gloogloox)\
**Replies:** 1\
**Last updated:** [March 3, 2021, 7:34pm UTC](https://forums.unrealengine.com/t/python-fbx-import-animation-sequence-only/479678 "2021-03-03T19:34:26Z")

</div>

Hey, Using the Fbx Import UI, it is easy to only import an AnimationSequence, as long as we already have the Skeleton. Just have to uncheck “Import Mesh” and select the proper Skeleton. It will set the importing mode to…

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

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