# Editor Scripting

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

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

**Page:** 48

---

## [Unable To record static Mesh property for Actor Blueprint in take recorder](https://forums.unrealengine.com/t/unable-to-record-static-mesh-property-for-actor-blueprint-in-take-recorder/149821)

<div class="topic-metadata">

**Author:** [@shenron](https://forums.unrealengine.com/u/shenron)\
**Replies:** 0\
**Last updated:** [August 26, 2020, 5:34pm UTC](https://forums.unrealengine.com/t/unable-to-record-static-mesh-property-for-actor-blueprint-in-take-recorder/149821 "2020-08-26T17:34:49Z")

</div>

I have a simple Blueprint actor, which has a static mesh and the mesh is cube. After 5 seconds , my code changes it to a cone. Take Recorder for this actor records only some default properties.I wish to record the st…

---

## [How can I query the start and end frame of a level sequence using python?](https://forums.unrealengine.com/t/how-can-i-query-the-start-and-end-frame-of-a-level-sequence-using-python/470304)

<div class="topic-metadata">

**Author:** [@Nikkelodeon](https://forums.unrealengine.com/u/Nikkelodeon)\
**Replies:** 0\
**Last updated:** [August 25, 2020, 5:51pm UTC](https://forums.unrealengine.com/t/how-can-i-query-the-start-and-end-frame-of-a-level-sequence-using-python/470304 "2020-08-25T17:51:39Z")

</div>

How can I query the start and end frame of a level sequence using python?

---

## [is it possible to use python in ue4?](https://forums.unrealengine.com/t/is-it-possible-to-use-python-in-ue4/366938)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4676fba6](https://forums.unrealengine.com/u/anonymous_user_4676fba6)\
**Replies:** 2\
**Last updated:** [August 24, 2020, 2:20am UTC](https://forums.unrealengine.com/t/is-it-possible-to-use-python-in-ue4/366938 "2020-08-24T02:20:29Z")

</div>

i wanna to use python language for scripting and plugin writing in ue4 is there a extension integrating python into ue4?

---

## [Loading object into level from save file, Array element is Null](https://forums.unrealengine.com/t/loading-object-into-level-from-save-file-array-element-is-null/470201)

<div class="topic-metadata">

**Author:** [@MysticalSquirrel](https://forums.unrealengine.com/u/MysticalSquirrel)\
**Replies:** 12\
**Last updated:** [August 23, 2020, 7:53pm UTC](https://forums.unrealengine.com/t/loading-object-into-level-from-save-file-array-element-is-null/470201 "2020-08-23T19:53:42Z")

</div>

Hi, I am trying to make a blueprint that will save a base’s “building elements” and then load them back up after loading the game. But for some reason when I load the save file, the elements of the array saved within it …

---

## [Raytracing GameUserSettings?](https://forums.unrealengine.com/t/raytracing-gameusersettings/149663)

<div class="topic-metadata">

**Author:** [@Anonymous\_b197e3d109f40042bb5c9143b48951cc](https://forums.unrealengine.com/u/Anonymous_b197e3d109f40042bb5c9143b48951cc)\
**Replies:** 0\
**Last updated:** [August 23, 2020, 7:31pm UTC](https://forums.unrealengine.com/t/raytracing-gameusersettings/149663 "2020-08-23T19:31:01Z")

</div>

I want to make my game raytracing compatible and want to be able to set this in the settings, but where can I find raytracing in the GameUserSettings so that I can activate / deactivate it?

---

## ['FIND' function not finding empty index for Inventory](https://forums.unrealengine.com/t/find-function-not-finding-empty-index-for-inventory/470131)

<div class="topic-metadata">

**Author:** [@kiantheskorpion](https://forums.unrealengine.com/u/kiantheskorpion)\
**Replies:** 2\
**Last updated:** [August 23, 2020, 5:29pm UTC](https://forums.unrealengine.com/t/find-function-not-finding-empty-index-for-inventory/470131 "2020-08-23T17:29:51Z")

</div>

Hello Everyone, So I have been following the Ryan Laley tutorials on YouTube guided towards building an inventory system. After ending video 6, my Create Stack function is not working properly. It is supposed to find a…

---

## [How to get World Outliner Actor/Object Path](https://forums.unrealengine.com/t/how-to-get-world-outliner-actor-object-path/149574)

<div class="topic-metadata">

**Author:** [@mad\_guru](https://forums.unrealengine.com/u/mad_guru)\
**Replies:** 0\
**Last updated:** [August 21, 2020, 3:48pm UTC](https://forums.unrealengine.com/t/how-to-get-world-outliner-actor-object-path/149574 "2020-08-21T15:48:13Z")

</div>

Hi, I’m trying to get the path to an object/actor in the world outliner. In the Content Browser, I ca just right click and copy the path, but not so in the world outliner. To use the python command get\_actor\_reference …

---

## [Python API viewport selection](https://forums.unrealengine.com/t/python-api-viewport-selection/149512)

<div class="topic-metadata">

**Author:** [@Idantim](https://forums.unrealengine.com/u/Idantim)\
**Replies:** 0\
**Last updated:** [August 20, 2020, 11:09am UTC](https://forums.unrealengine.com/t/python-api-viewport-selection/149512 "2020-08-20T11:09:43Z")

</div>

Hi all, I have been using the python API to script the editor for quite some time now, and I have a simple question. What I am trying to do is to control 2 viewports simultaneously (piloted through camera actors, movin…

---

## ["Create Visual Studio Project Files" not working - not adding cpp & h files to solution](https://forums.unrealengine.com/t/create-visual-studio-project-files-not-working-not-adding-cpp-h-files-to-solution/149507)

<div class="topic-metadata">

**Author:** [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Replies:** 0\
**Last updated:** [August 20, 2020, 9:56am UTC](https://forums.unrealengine.com/t/create-visual-studio-project-files-not-working-not-adding-cpp-h-files-to-solution/149507 "2020-08-20T09:56:22Z")

</div>

Hi, I can create a new C++ class in the editor, it creates the solution with the c++ project, and I can add variables and functions that can be seen in the editor BUT !! once I want to create a new module, it does not …

---

## [blending materials in Blueprint](https://forums.unrealengine.com/t/blending-materials-in-blueprint/469997)

<div class="topic-metadata">

**Author:** [@Rag1804](https://forums.unrealengine.com/u/Rag1804)\
**Replies:** 4\
**Last updated:** [August 20, 2020, 7:07am UTC](https://forums.unrealengine.com/t/blending-materials-in-blueprint/469997 "2020-08-20T07:07:45Z")

</div>

Take a look at this question: https://answers.unrealengine.com/questions/970349/how-to-blend-between-two-materials.html, it might be helpful.

---

## [How to check a variable while playing?](https://forums.unrealengine.com/t/how-to-check-a-variable-while-playing/149436)

<div class="topic-metadata">

**Author:** [@umbisac](https://forums.unrealengine.com/u/umbisac)\
**Replies:** 0\
**Last updated:** [August 19, 2020, 8:58am UTC](https://forums.unrealengine.com/t/how-to-check-a-variable-while-playing/149436 "2020-08-19T08:58:27Z")

</div>

Hi, I am working on a project and I am trying to find a way to read a value of a variable (like a player kills) while playing the game in multiplayer. Ideally, every time the variable changes, the value is sent to Pyth…

---

## [How to make an inventory composed of different types of structs ?](https://forums.unrealengine.com/t/how-to-make-an-inventory-composed-of-different-types-of-structs/469932)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d2343e6c](https://forums.unrealengine.com/u/anonymous_user_d2343e6c)\
**Replies:** 5\
**Last updated:** [August 18, 2020, 2:50pm UTC](https://forums.unrealengine.com/t/how-to-make-an-inventory-composed-of-different-types-of-structs/469932 "2020-08-18T14:50:14Z")

</div>

Hello So I made an inventory system (based on this serie), it works this way : Each item is represented by a struct (s\_IDcards for example, with name, birthdate, adress etc…) My inventory is an array of these structs…

---

## [Can I import a png/jpg file to a material using python? Or import it as a texture (which I've done) and turn that in to a material using python](https://forums.unrealengine.com/t/can-i-import-a-png-jpg-file-to-a-material-using-python-or-import-it-as-a-texture-which-ive-done-and-turn-that-in-to-a-material-using-python/469924)

<div class="topic-metadata">

**Author:** [@mattjgardner](https://forums.unrealengine.com/u/mattjgardner)\
**Replies:** 0\
**Last updated:** [August 18, 2020, 12:06am UTC](https://forums.unrealengine.com/t/can-i-import-a-png-jpg-file-to-a-material-using-python-or-import-it-as-a-texture-which-ive-done-and-turn-that-in-to-a-material-using-python/469924 "2020-08-18T00:06:48Z")

</div>

Hi, I’m trying to automate the import of multiple png files to create materials that can be applied to meshes. When I import, the material created is completely black instead of the image I tried to load. I’ve also trie…

---

## [Importing material from a png/jpg file using python](https://forums.unrealengine.com/t/importing-material-from-a-png-jpg-file-using-python/149184)

<div class="topic-metadata">

**Author:** [@mattjgardner](https://forums.unrealengine.com/u/mattjgardner)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 4:16pm UTC](https://forums.unrealengine.com/t/importing-material-from-a-png-jpg-file-using-python/149184 "2020-08-14T16:16:45Z")

</div>

I’m trying to automate the import of multiple png files to create materials that can be applied to meshes. When I import, the material created is completely black instead of the image I tried to load. I’ve also tried im…

---

## [Editor Utility Widgets in PIE](https://forums.unrealengine.com/t/editor-utility-widgets-in-pie/148429)

<div class="topic-metadata">

**Author:** [@TheBeardedBerry](https://forums.unrealengine.com/u/TheBeardedBerry)\
**Replies:** 1\
**Last updated:** [August 14, 2020, 4:09pm UTC](https://forums.unrealengine.com/t/editor-utility-widgets-in-pie/148429 "2020-08-14T16:09:48Z")

</div>

So I have been trying to set up a simple editor utility widget that connects to one of the actors in my level and manipulates the actor in some way. Runs perfectly in editor while PIE is not running. However if I try to…

---

## [Main menu start button wont work](https://forums.unrealengine.com/t/main-menu-start-button-wont-work/149153)

<div class="topic-metadata">

**Author:** [@Makz1238](https://forums.unrealengine.com/u/Makz1238)\
**Replies:** 1\
**Last updated:** [August 14, 2020, 11:37am UTC](https://forums.unrealengine.com/t/main-menu-start-button-wont-work/149153 "2020-08-14T11:37:25Z")

</div>

Hi! When i click the “Play button nothing happens” I would appreciate if someone could help me.

---

## [Interpolation Not Stacking](https://forums.unrealengine.com/t/interpolation-not-stacking/469660)

<div class="topic-metadata">

**Author:** [@zSSkitzz](https://forums.unrealengine.com/u/zSSkitzz)\
**Replies:** 5\
**Last updated:** [August 14, 2020, 1:55am UTC](https://forums.unrealengine.com/t/interpolation-not-stacking/469660 "2020-08-14T01:55:03Z")

</div>

I’ve set up a progress bar to display the health, I used finterp to make the health bar go smoothly when you take damage. I’ve noticed that when I take away 25 health, and take away 25 again before the first set of damag…

---

## [is possible to add socket to skeletal mesh using python ?](https://forums.unrealengine.com/t/is-possible-to-add-socket-to-skeletal-mesh-using-python/146832)

<div class="topic-metadata">

**Author:** [@Anas\_Rin](https://forums.unrealengine.com/u/Anas_Rin)\
**Replies:** 3\
**Last updated:** [August 13, 2020, 7:31pm UTC](https://forums.unrealengine.com/t/is-possible-to-add-socket-to-skeletal-mesh-using-python/146832 "2020-08-13T19:31:01Z")

</div>

in unreal.StaticMesh has method to add socket to static mesh and I don’t found any method to add socket to skeletal mesh. is somebody know how t…

---

## [Best way of saving football results?](https://forums.unrealengine.com/t/best-way-of-saving-football-results/469706)

<div class="topic-metadata">

**Author:** [@luis9303](https://forums.unrealengine.com/u/luis9303)\
**Replies:** 0\
**Last updated:** [August 13, 2020, 5:34pm UTC](https://forums.unrealengine.com/t/best-way-of-saving-football-results/469706 "2020-08-13T17:34:48Z")

</div>

Hi guys, I am actually making a football game and after I’ve managed to create the league draw with the teams that will be joining the competition and put them against each other but while doing that I got a doubt. Exa…

---

## [Replace string in Datatable with variable created in widget?](https://forums.unrealengine.com/t/replace-string-in-datatable-with-variable-created-in-widget/469581)

<div class="topic-metadata">

**Author:** [@Twitchy2](https://forums.unrealengine.com/u/Twitchy2)\
**Replies:** 12\
**Last updated:** [August 13, 2020, 10:56am UTC](https://forums.unrealengine.com/t/replace-string-in-datatable-with-variable-created-in-widget/469581 "2020-08-13T10:56:20Z")

</div>

You can’t write to a Data Table in BPs. You’d generally use a save game object to store persistent data. load the data from a data table into a struct in the character bluerprint you’re free to modify that struct when …

---

## [Print from python by running from the command line](https://forums.unrealengine.com/t/print-from-python-by-running-from-the-command-line/130350)

<div class="topic-metadata">

**Author:** [@Yoshino\_Takuya](https://forums.unrealengine.com/u/Yoshino_Takuya)\
**Replies:** 7\
**Last updated:** [August 13, 2020, 6:59am UTC](https://forums.unrealengine.com/t/print-from-python-by-running-from-the-command-line/130350 "2020-08-13T06:59:58Z")

</div>

I want to run Python from the command line. It was confirmed that the python file was executed from the command line. However, neither the Print function nor the Unreal.log function displayed the log. Is there a way t…

---

## [Blueprint compilation - editor crash - HasAnyCastFlags](https://forums.unrealengine.com/t/blueprint-compilation-editor-crash-hasanycastflags/466960)

<div class="topic-metadata">

**Author:** [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Replies:** 3\
**Last updated:** [August 12, 2020, 5:18pm UTC](https://forums.unrealengine.com/t/blueprint-compilation-editor-crash-hasanycastflags/466960 "2020-08-12T17:18:22Z")

</div>

So, I’ve finally traced what I thought was a configuration or programming error back to and editor crash. All I have to do is compile ( no changes ) a couple of blueprints repeatedly and boom… It’s probably worth notin…

---

## [Spawned actor is not the same as the one i placed in the level](https://forums.unrealengine.com/t/spawned-actor-is-not-the-same-as-the-one-i-placed-in-the-level/223575)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_89a1776d](https://forums.unrealengine.com/u/anonymous_user_89a1776d)\
**Replies:** 0\
**Last updated:** [August 12, 2020, 6:10am UTC](https://forums.unrealengine.com/t/spawned-actor-is-not-the-same-as-the-one-i-placed-in-the-level/223575 "2020-08-12T06:10:27Z")

</div>

Why does the spawn actor from class spawn an actor that I cant interact with? for example the original actor produces a hit marker and then add points to a score based off a hit marker trigger, but the spawned actors do …

---

## [How do I get a variable from another Blueprint?](https://forums.unrealengine.com/t/how-do-i-get-a-variable-from-another-blueprint/469576)

<div class="topic-metadata">

**Author:** [@ItsRainingNans](https://forums.unrealengine.com/u/ItsRainingNans)\
**Replies:** 5\
**Last updated:** [August 11, 2020, 7:20pm UTC](https://forums.unrealengine.com/t/how-do-i-get-a-variable-from-another-blueprint/469576 "2020-08-11T19:20:45Z")

</div>

So I’m making a FNaF game (yeah yeah, cringe, I know) and I’m trying to make it so that when the enemy is outside the door, it will check if the door is closed, if its closed it will go inside but if its not then he will…

---

## [How to collect LogStats output when running commands from a python script?](https://forums.unrealengine.com/t/how-to-collect-logstats-output-when-running-commands-from-a-python-script/148985)

<div class="topic-metadata">

**Author:** [@darkczar](https://forums.unrealengine.com/u/darkczar)\
**Replies:** 1\
**Last updated:** [August 11, 2020, 2:01pm UTC](https://forums.unrealengine.com/t/how-to-collect-logstats-output-when-running-commands-from-a-python-script/148985 "2020-08-11T14:01:49Z")

</div>

I am trying to write a python script that will load assets one after the other and run ‘stat startfile’ for a few seconds and the then run ‘stat stopfile’. I would like to be able to specify an output file for stat star…

---

## ['SaveGame' property not working.](https://forums.unrealengine.com/t/savegame-property-not-working/469282)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_db3a13d3](https://forums.unrealengine.com/u/anonymous_user_db3a13d3)\
**Replies:** 7\
**Last updated:** [August 11, 2020, 8:19am UTC](https://forums.unrealengine.com/t/savegame-property-not-working/469282 "2020-08-11T08:19:56Z")

</div>

Hi there, I know I can save and load variants like ‘\[在虚幻引擎中保存和加载游戏 | 虚幻引擎5.1文档\]\[1\]’ . But it request me to load and get properties and set them back to every systems , it is not automaticly working when loading finish…

---

## [Python pdb module not working](https://forums.unrealengine.com/t/python-pdb-module-not-working/223567)

<div class="topic-metadata">

**Author:** [@fxtd-odyssey](https://forums.unrealengine.com/u/fxtd-odyssey)\
**Replies:** 0\
**Last updated:** [August 11, 2020, 6:59am UTC](https://forums.unrealengine.com/t/python-pdb-module-not-working/223567 "2020-08-11T06:59:31Z")

</div>

Current Python Scripting Plugin not support python input keyword, so that it would prompt error immediately when I try to use the pdb module.

---

## [Blueprint: GetInputSettings does not show the default action mappings/keys UE 4.25.3](https://forums.unrealengine.com/t/blueprint-getinputsettings-does-not-show-the-default-action-mappings-keys-ue-4-25-3/149006)

<div class="topic-metadata">

**Author:** [@L1z4rD89](https://forums.unrealengine.com/u/L1z4rD89)\
**Replies:** 0\
**Last updated:** [August 11, 2020, 5:51am UTC](https://forums.unrealengine.com/t/blueprint-getinputsettings-does-not-show-the-default-action-mappings-keys-ue-4-25-3/149006 "2020-08-11T05:51:40Z")

</div>

Hello, in my project I tried to give the user the ability to change the keybindings. Well, somehow it worked, because after SaveKeyMappings the game will show the user specified keys. The problem: the default keys where…

---

## [Mapping Blueprint Item Properties to New UObject](https://forums.unrealengine.com/t/mapping-blueprint-item-properties-to-new-uobject/469552)

<div class="topic-metadata">

**Author:** [@Lucqiiiii](https://forums.unrealengine.com/u/Lucqiiiii)\
**Replies:** 0\
**Last updated:** [August 11, 2020, 3:17am UTC](https://forums.unrealengine.com/t/mapping-blueprint-item-properties-to-new-uobject/469552 "2020-08-11T03:17:02Z")

</div>

So basically, I have a function AddItem() that has APickup\* as my input param, I check if my inventory TArray has that type of pickup. If yes, I increase the count of that pickup type; If not, I construct a new UObject o…

---

## [Is it possible to add a tab for tools or a Interface for interacting with a python tool?](https://forums.unrealengine.com/t/is-it-possible-to-add-a-tab-for-tools-or-a-interface-for-interacting-with-a-python-tool/148704)

<div class="topic-metadata">

**Author:** [@i73](https://forums.unrealengine.com/u/i73)\
**Replies:** 1\
**Last updated:** [August 10, 2020, 1:00pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-add-a-tab-for-tools-or-a-interface-for-interacting-with-a-python-tool/148704 "2020-08-10T13:00:53Z")

</div>

I’m looking to create a context menu for tools that I’ll be writing for editor scripting / plugin development, what’s the proper way to accomplish this? There’s no info when it comes to the Editor Scripting Documentatio…

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

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