# Editor Scripting

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

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

**Page:** 14

---

## [UE5 - How to Save an Edited Actor in Editor Utility Widged, One File Per Actor](https://forums.unrealengine.com/t/ue5-how-to-save-an-edited-actor-in-editor-utility-widged-one-file-per-actor/617047)

<div class="topic-metadata">

**Author:** [@Magiton](https://forums.unrealengine.com/u/Magiton)\
**Replies:** 2\
**Last updated:** [November 10, 2023, 11:05pm UTC](https://forums.unrealengine.com/t/ue5-how-to-save-an-edited-actor-in-editor-utility-widged-one-file-per-actor/617047 "2023-11-10T23:05:52Z")

</div>

Hey, I am making a simple tool that can switch the Mobility Type on Static Mesh. The switch tool works fine, but the OFPA actor won’t get Checked Out. If I switch the setting by hand, UE asks me if I want to Check out t…

---

## [HELP! UE5 C++ How to use ALandscape with ALandscapeStreamingProxy to spawn proxy in landscape](https://forums.unrealengine.com/t/help-ue5-c-how-to-use-alandscape-with-alandscapestreamingproxy-to-spawn-proxy-in-landscape/1379476)

<div class="topic-metadata">

**Author:** [@d4wr0s](https://forums.unrealengine.com/u/d4wr0s)\
**Replies:** 0\
**Last updated:** [November 10, 2023, 9:32pm UTC](https://forums.unrealengine.com/t/help-ue5-c-how-to-use-alandscape-with-alandscapestreamingproxy-to-spawn-proxy-in-landscape/1379476 "2023-11-10T21:32:41Z")

</div>

Hi. I’m new to UE C++ and can’t find an example on how to create a Landscape and add a LandscapeStremingProxy to it. The goal I want to achieve is to create an initial landscape with 1 initial proxy and then add a new pr…

---

## [Creating a Lanscape using C++ or the Python API](https://forums.unrealengine.com/t/creating-a-lanscape-using-c-or-the-python-api/504997)

<div class="topic-metadata">

**Author:** [@s\_zervos](https://forums.unrealengine.com/u/s_zervos)\
**Replies:** 7\
**Last updated:** [November 10, 2023, 5:36pm UTC](https://forums.unrealengine.com/t/creating-a-lanscape-using-c-or-the-python-api/504997 "2023-11-10T17:36:14Z")

</div>

Hello, I am trying to create and spawn a Landscape through code using C++ or the python API of UE4.27. For C++, with GetWorld()-\>SpawnActor\<ALandscape\> , ALandscapeProxy::Import(...) and LandscapeEditorDetailCustomizat…

---

## [How to secure python script?](https://forums.unrealengine.com/t/how-to-secure-python-script/461883)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_308f0a98](https://forums.unrealengine.com/u/anonymous_user_308f0a98)\
**Replies:** 4\
**Last updated:** [November 7, 2023, 8:49am UTC](https://forums.unrealengine.com/t/how-to-secure-python-script/461883 "2023-11-07T08:49:59Z")

</div>

I have been using UnrealEnginePython plugin for using python in runtime. I have some python scripts from which i made pyc files for securing my code. But pyc is not recompiled easily. My question is how python code kee…

---

## [Can't change Component's location in editor?](https://forums.unrealengine.com/t/cant-change-components-location-in-editor/1366656)

<div class="topic-metadata">

**Author:** [@Inconceivable](https://forums.unrealengine.com/u/Inconceivable)\
**Replies:** 0\
**Last updated:** [November 5, 2023, 9:45pm UTC](https://forums.unrealengine.com/t/cant-change-components-location-in-editor/1366656 "2023-11-05T21:45:03Z")

</div>

I have a blueprint with a component that I need to set the relative location of by means of a calculation. I have a C++ class that does this, and it works perfectly when I calculate the location from the component’s Pos…

---

## [Why won't my save and load c++ code work?](https://forums.unrealengine.com/t/why-wont-my-save-and-load-c-code-work/481241)

<div class="topic-metadata">

**Author:** [@CanadianCheesus](https://forums.unrealengine.com/u/CanadianCheesus)\
**Replies:** 11\
**Last updated:** [November 5, 2023, 12:49am UTC](https://forums.unrealengine.com/t/why-wont-my-save-and-load-c-code-work/481241 "2023-11-05T00:49:34Z")

</div>

I thought I was having an issue with saving specific information but apparently I just can’t save or load my game at all… I have followed many different tutorials (Reuben Ward - “Unreal Engine C++ Tutorial - Creating Sav…

---

## [\[SOLVED\]Folder To Sequencer](https://forums.unrealengine.com/t/solved-folder-to-sequencer/152330)

<div class="topic-metadata">

**Author:** [@AtomicPerception](https://forums.unrealengine.com/u/AtomicPerception)\
**Replies:** 1\
**Last updated:** [November 1, 2023, 9:55am UTC](https://forums.unrealengine.com/t/solved-folder-to-sequencer/152330 "2023-11-01T09:55:50Z")

</div>

This script reads in a folder of like extension images, adds them to the current map, and then to the sequencer demonstrating how to set a keyframe. \](filedata/fetch?id=1823367&d=1603037270) # Transfer a folder of …

---

## [Save game not work on Android sdk version 30](https://forums.unrealengine.com/t/save-game-not-work-on-android-sdk-version-30/486426)

<div class="topic-metadata">

**Author:** [@CppGod](https://forums.unrealengine.com/u/CppGod)\
**Replies:** 27\
**Last updated:** [October 30, 2023, 12:45pm UTC](https://forums.unrealengine.com/t/save-game-not-work-on-android-sdk-version-30/486426 "2023-10-30T12:45:18Z")

</div>

Hello everyone, according to the new Google policy, soon all applications should support SDK version 30, but the problem is that saves do not work in this version of SDK, has someone encountered this problem or knows how…

---

## [I want to automate retargeting of animations of different skeletons using python.](https://forums.unrealengine.com/t/i-want-to-automate-retargeting-of-animations-of-different-skeletons-using-python/490154)

<div class="topic-metadata">

**Author:** [@hossan](https://forums.unrealengine.com/u/hossan)\
**Replies:** 2\
**Last updated:** [October 26, 2023, 4:54pm UTC](https://forums.unrealengine.com/t/i-want-to-automate-retargeting-of-animations-of-different-skeletons-using-python/490154 "2023-10-26T16:54:41Z")

</div>

I would like to automate the retargeting of animations between different skeletons using python. If anyone knows how to do that, please let me know. I’ve been reading through the unreal python documentation, but I can’…

---

## [Save player data online instead of local SaveGame](https://forums.unrealengine.com/t/save-player-data-online-instead-of-local-savegame/417022)

<div class="topic-metadata">

**Author:** [@n1emesis](https://forums.unrealengine.com/u/n1emesis)\
**Replies:** 2\
**Last updated:** [October 24, 2023, 10:31pm UTC](https://forums.unrealengine.com/t/save-player-data-online-instead-of-local-savegame/417022 "2023-10-24T22:31:50Z")

</div>

Hi I want to save Data for the player like ( Gold, Level, XP) in the Playfab (or in mysql) instead of in local SaveGame If possible explain it in BluePrint and thanks

---

## [greetings! Please help me! I install Datasmith for 3Ds Max, and then as soon as I enter 3Ds Max, the program closes automatically. What is the reason?](https://forums.unrealengine.com/t/greetings-please-help-me-i-install-datasmith-for-3ds-max-and-then-as-soon-as-i-enter-3ds-max-the-program-closes-automatically-what-is-the-reason/1300253)

<div class="topic-metadata">

**Author:** [@IbrahimAsadli](https://forums.unrealengine.com/u/IbrahimAsadli)\
**Replies:** 3\
**Last updated:** [October 23, 2023, 8:12am UTC](https://forums.unrealengine.com/t/greetings-please-help-me-i-install-datasmith-for-3ds-max-and-then-as-soon-as-i-enter-3ds-max-the-program-closes-automatically-what-is-the-reason/1300253 "2023-10-23T08:12:14Z")

</div>

---

## [Plugin to use Python BP functions for packaged game](https://forums.unrealengine.com/t/plugin-to-use-python-bp-functions-for-packaged-game/491312)

<div class="topic-metadata">

**Author:** [@Dj\_Bob0](https://forums.unrealengine.com/u/Dj_Bob0)\
**Replies:** 1\
**Last updated:** [October 20, 2023, 5:25pm UTC](https://forums.unrealengine.com/t/plugin-to-use-python-bp-functions-for-packaged-game/491312 "2023-10-20T17:25:04Z")

</div>

Hi, I’m currently working on a machine-learning project for my masters. We are training a 3D connect four model and want to visualize and play against it in UE4. We already implemented all the needed functionality using …

---

## [Save game to slot: ID and slot name?](https://forums.unrealengine.com/t/save-game-to-slot-id-and-slot-name/363987)

<div class="topic-metadata">

**Author:** [@agiro](https://forums.unrealengine.com/u/agiro)\
**Replies:** 31\
**Last updated:** [October 20, 2023, 1:22pm UTC](https://forums.unrealengine.com/t/save-game-to-slot-id-and-slot-name/363987 "2023-10-20T13:22:24Z")

</div>

Hi all, I wish to ask about this function. I’m following the documentation and saw that this function asks for these. I plan to make some highscores, the top 10 will be displayed so is the player gets better, the game w…

---

## [Setting Material Slot Names on Static Mesh Materials not updating Editor UI](https://forums.unrealengine.com/t/setting-material-slot-names-on-static-mesh-materials-not-updating-editor-ui/559681)

<div class="topic-metadata">

**Author:** [@ePacel](https://forums.unrealengine.com/u/ePacel)\
**Replies:** 2\
**Last updated:** [October 19, 2023, 3:31pm UTC](https://forums.unrealengine.com/t/setting-material-slot-names-on-static-mesh-materials-not-updating-editor-ui/559681 "2023-10-19T15:31:37Z")

</div>

I’m trying to rename the material slots on the selected static meshes in the content browser. If I run the script below it works if I get the editor property and print it to log after settings it, but it doesn’t update t…

---

## [Marking an asset as modified dirty via Editor Utility Widgets or Blutility?](https://forums.unrealengine.com/t/marking-an-asset-as-modified-dirty-via-editor-utility-widgets-or-blutility/142566)

<div class="topic-metadata">

**Author:** [@Nameless\_Voice](https://forums.unrealengine.com/u/Nameless_Voice)\
**Replies:** 8\
**Last updated:** [October 17, 2023, 11:05am UTC](https://forums.unrealengine.com/t/marking-an-asset-as-modified-dirty-via-editor-utility-widgets-or-blutility/142566 "2023-10-17T11:05:22Z")

</div>

I have an Editor Utility Widget that modifies assets. However, it seems that it doesn’t actually mark the asset as “dirty” (modified / unsaved) when it does this, so the changes will not be saved and don’t even show up …

---

## [How to instantiate a custom USTRUCT in Python](https://forums.unrealengine.com/t/how-to-instantiate-a-custom-ustruct-in-python/1333681)

<div class="topic-metadata">

**Author:** [@Alvininorge](https://forums.unrealengine.com/u/Alvininorge)\
**Replies:** 0\
**Last updated:** [October 15, 2023, 9:14pm UTC](https://forums.unrealengine.com/t/how-to-instantiate-a-custom-ustruct-in-python/1333681 "2023-10-15T21:14:14Z")

</div>

I want to have a UPORPERTY in an DataAsset that is an array of custom USTRUCT. Now I can successfully construct and assign TArray of primitive types using the native python array, but I have trouble instantiating any obj…

---

## [Access C++ UStruct from Python](https://forums.unrealengine.com/t/access-c-ustruct-from-python/140773)

<div class="topic-metadata">

**Author:** [@EPG](https://forums.unrealengine.com/u/EPG)\
**Replies:** 3\
**Last updated:** [October 15, 2023, 8:30pm UTC](https://forums.unrealengine.com/t/access-c-ustruct-from-python/140773 "2023-10-15T20:30:55Z")

</div>

I have a C++ struct, that I store in an array of my own Component: I want to edit this from a Python script. Is it possible? And if yes, how? I had an FString type called Name and I could modify it easily:

---

## [How to detect when actors/components are added to a level or blueprint](https://forums.unrealengine.com/t/how-to-detect-when-actors-components-are-added-to-a-level-or-blueprint/152442)

<div class="topic-metadata">

**Author:** [@illYay](https://forums.unrealengine.com/u/illYay)\
**Replies:** 4\
**Last updated:** [September 23, 2023, 8:16pm UTC](https://forums.unrealengine.com/t/how-to-detect-when-actors-components-are-added-to-a-level-or-blueprint/152442 "2023-09-23T20:16:39Z")

</div>

If I have an actor in my level that manages certain things, can I have it detect when actors/components are added/removed in editor and track them? I’m currently doing a scan for all actors/components every time one of …

---

## [Get reference to an actor placed in a level?](https://forums.unrealengine.com/t/get-reference-to-an-actor-placed-in-a-level/430824)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_1a1a0e3a](https://forums.unrealengine.com/u/anonymous_user_1a1a0e3a)\
**Replies:** 7\
**Last updated:** [October 6, 2023, 1:40am UTC](https://forums.unrealengine.com/t/get-reference-to-an-actor-placed-in-a-level/430824 "2023-10-06T01:40:53Z")

</div>

How do i reference an actor placed in the level (of type empty actor) so i can assign it as the owner of something else?

---

## [Using a distinct python version within Unreal Engine](https://forums.unrealengine.com/t/using-a-distinct-python-version-within-unreal-engine/1323226)

<div class="topic-metadata">

**Author:** [@YawningYona](https://forums.unrealengine.com/u/YawningYona)\
**Replies:** 0\
**Last updated:** [October 5, 2023, 1:05pm UTC](https://forums.unrealengine.com/t/using-a-distinct-python-version-within-unreal-engine/1323226 "2023-10-05T13:05:42Z")

</div>

Hey there :slight\_smile: I am trying to make UE5 use a distinct python version as its default python. As per Scripting the Unreal Editor Using Python | Unreal Engine 5.2 Documentation, it should be easily doable by jus…

---

## [Accessing an EditorUtilityWidget in Python](https://forums.unrealengine.com/t/accessing-an-editorutilitywidget-in-python/1321406)

<div class="topic-metadata">

**Author:** [@didiertido](https://forums.unrealengine.com/u/didiertido)\
**Replies:** 0\
**Last updated:** [October 3, 2023, 5:43pm UTC](https://forums.unrealengine.com/t/accessing-an-editorutilitywidget-in-python/1321406 "2023-10-03T17:43:05Z")

</div>

I’m trying to build a UI in Python as it’s easier for me to parse incoming data that way. I’m not very familiar with casting on Blueprint so I’m having this issue. I was using Construct from Class and it was working c…

---

## [Populate Level Blueprint Using Python?](https://forums.unrealengine.com/t/populate-level-blueprint-using-python/152374)

<div class="topic-metadata">

**Author:** [@AtomicPerception](https://forums.unrealengine.com/u/AtomicPerception)\
**Replies:** 2\
**Last updated:** [September 28, 2023, 8:07pm UTC](https://forums.unrealengine.com/t/populate-level-blueprint-using-python/152374 "2023-09-28T20:07:28Z")

</div>

I am trying to write some python code that will generate the following three node event trigger inside the Level Blueprint. This setup auto plays a MediaPlayer. Does anyone have any python code to demonstrate this type …

---

## [How can I use a component within a blueprint inside another blueprint?](https://forums.unrealengine.com/t/how-can-i-use-a-component-within-a-blueprint-inside-another-blueprint/442424)

<div class="topic-metadata">

**Author:** [@Kosar](https://forums.unrealengine.com/u/Kosar)\
**Replies:** 15\
**Last updated:** [September 29, 2023, 1:14pm UTC](https://forums.unrealengine.com/t/how-can-i-use-a-component-within-a-blueprint-inside-another-blueprint/442424 "2023-09-29T13:14:07Z")

</div>

As per the title, lets say I have a camera component in blueprint 1 and I want to use that camera component in blueprint 2. How can I achieve this? Would greatly appreciate an answer.

---

## [Load Game didn't work for clients](https://forums.unrealengine.com/t/load-game-didnt-work-for-clients/409920)

<div class="topic-metadata">

**Author:** [@U.Dev](https://forums.unrealengine.com/u/U.Dev)\
**Replies:** 2\
**Last updated:** [September 28, 2023, 6:56pm UTC](https://forums.unrealengine.com/t/load-game-didnt-work-for-clients/409920 "2023-09-28T18:56:45Z")

</div>

Hello guys this question is asked couple of times but watching them i can’t do anything as they said it somehow didn’t works for me, PLEASE HELP ME ! (This is only thing i need left right now it means to much to me) Let…

---

## [WebControl with nDisplay for Virtual Production](https://forums.unrealengine.com/t/webcontrol-with-ndisplay-for-virtual-production/151009)

<div class="topic-metadata">

**Author:** [@b34npour](https://forums.unrealengine.com/u/b34npour)\
**Replies:** 4\
**Last updated:** [September 27, 2023, 5:12am UTC](https://forums.unrealengine.com/t/webcontrol-with-ndisplay-for-virtual-production/151009 "2023-09-27T05:12:51Z")

</div>

Does WebControl work with nDisplay projects while they’re running? For instance, if I have a virtual production setup running on an LED wall, I’d like to use Web Control to move actors around and adjust lighting, just li…

---

## [Customize editor color](https://forums.unrealengine.com/t/customize-editor-color/764794)

<div class="topic-metadata">

**Author:** [@WILEz-AM](https://forums.unrealengine.com/u/WILEz-AM)\
**Replies:** 1\
**Last updated:** [September 26, 2023, 10:58pm UTC](https://forums.unrealengine.com/t/customize-editor-color/764794 "2023-09-26T22:58:28Z")

</div>

Hi, is possible customize the base color settings in blueprints? I would like to change the color of the bool variables. The lines are almost invisible to me. And I wear glasses. :sweat\_smile:

---

## [Adding variables from Python](https://forums.unrealengine.com/t/adding-variables-from-python/211317)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4b67eefa](https://forums.unrealengine.com/u/anonymous_user_4b67eefa)\
**Replies:** 2\
**Last updated:** [September 26, 2023, 5:13pm UTC](https://forums.unrealengine.com/t/adding-variables-from-python/211317 "2023-09-26T17:13:47Z")

</div>

Hello, I want to create variables in Python for them to be procedurally added to my blueprint when I run my script. I am aware of getting and setting variables already set in the editor, and I understand, to get & set v…

---

## [Transfer PIE actors to Editor](https://forums.unrealengine.com/t/transfer-pie-actors-to-editor/1281371)

<div class="topic-metadata">

**Author:** [@JayZone80](https://forums.unrealengine.com/u/JayZone80)\
**Replies:** 2\
**Last updated:** [September 23, 2023, 3:49am UTC](https://forums.unrealengine.com/t/transfer-pie-actors-to-editor/1281371 "2023-09-23T03:49:30Z")

</div>

Hello! I’m working on a railroad building system for my game. I want to use the same system to build the default track, that the players later can add to or remove. The current workflow i have is this: Build track in…

---

## [Right mouse button problem with inventory system and camera movement](https://forums.unrealengine.com/t/right-mouse-button-problem-with-inventory-system-and-camera-movement/332017)

<div class="topic-metadata">

**Author:** [@CheersItsSheers](https://forums.unrealengine.com/u/CheersItsSheers)\
**Replies:** 2\
**Last updated:** [September 19, 2023, 5:35pm UTC](https://forums.unrealengine.com/t/right-mouse-button-problem-with-inventory-system-and-camera-movement/332017 "2023-09-19T17:35:38Z")

</div>

I’m following this series of videos on making an inventory system, and I’m having a problem with the camera. The problem starts after I close my inventory menu. I still have to hold down right mouse button in order to mo…

---

## [Calling a method on blueprint actor from plugin in c++](https://forums.unrealengine.com/t/calling-a-method-on-blueprint-actor-from-plugin-in-c/135461)

<div class="topic-metadata">

**Author:** [@AnasIqbal](https://forums.unrealengine.com/u/AnasIqbal)\
**Replies:** 0\
**Last updated:** [December 24, 2019, 10:05am UTC](https://forums.unrealengine.com/t/calling-a-method-on-blueprint-actor-from-plugin-in-c/135461 "2019-12-24T10:05:19Z")

</div>

I have created a plugin using Slate/ C++ and would like to call a method on a blueprint (not necessarily and Actor class). As I am building a plugin, everything needs to happen in editor mode without ever running the gam…

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

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