# Editor Scripting

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

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

**Page:** 12

---

## [Plugin Causing Crash On Android 12 and above devices](https://forums.unrealengine.com/t/plugin-causing-crash-on-android-12-and-above-devices/1171233)

<div class="topic-metadata">

**Author:** [@Anqeror](https://forums.unrealengine.com/u/Anqeror)\
**Replies:** 1\
**Last updated:** [February 10, 2024, 2:00am UTC](https://forums.unrealengine.com/t/plugin-causing-crash-on-android-12-and-above-devices/1171233 "2024-02-10T02:00:05Z")

</div>

I am using an Ad plugin also available on marketplace for free named “Bansh Ads” I used this plugin for advertisement from admob for my mobile game. I also published my game on play store. The problem is my game is not …

---

## [How do I properly utilize JsonObjectStringToUStruct?](https://forums.unrealengine.com/t/how-do-i-properly-utilize-jsonobjectstringtoustruct/278907)

<div class="topic-metadata">

**Author:** [@TheAggie](https://forums.unrealengine.com/u/TheAggie)\
**Replies:** 6\
**Last updated:** [February 7, 2024, 8:35pm UTC](https://forums.unrealengine.com/t/how-do-i-properly-utilize-jsonobjectstringtoustruct/278907 "2024-02-07T20:35:55Z")

</div>

I’m trying to take an object from a json http response and convert it to a UStruct. I came across the JsonObjectStringToUStruct function via JsonUtilities.h. While it looks like the solution to my problem, I’m having som…

---

## [Sequencer: Copy Bindings, Childs and Keys to another Level Sequence - Python](https://forums.unrealengine.com/t/sequencer-copy-bindings-childs-and-keys-to-another-level-sequence-python/665071)

<div class="topic-metadata">

**Author:** [@noctuo](https://forums.unrealengine.com/u/noctuo)\
**Replies:** 2\
**Last updated:** [February 8, 2024, 3:52am UTC](https://forums.unrealengine.com/t/sequencer-copy-bindings-childs-and-keys-to-another-level-sequence-python/665071 "2024-02-08T03:52:38Z")

</div>

There is some method to copy an entire binding in a sequence to another ? I’m trying to use move\_binding\_contents() but all i get is a empty binding.

---

## [\[python\] Get Component from UBGC / UBlueprint](https://forums.unrealengine.com/t/python-get-component-from-ubgc-ublueprint/455129)

<div class="topic-metadata">

**Author:** [@DanielOrchard](https://forums.unrealengine.com/u/DanielOrchard)\
**Replies:** 5\
**Last updated:** [February 7, 2024, 11:45pm UTC](https://forums.unrealengine.com/t/python-get-component-from-ubgc-ublueprint/455129 "2024-02-07T23:45:38Z")

</div>

Im creating a new blueprint, and I want to change an element on a component inside it (a StaticMeshComponent). Im not sure how to get access to components from a CDO/BGC reference. Its not an actor so all the get compone…

---

## [Setting a by-ref var in a function does not replicate/notify](https://forums.unrealengine.com/t/setting-a-by-ref-var-in-a-function-does-not-replicate-notify/407517)

<div class="topic-metadata">

**Author:** [@falconblade](https://forums.unrealengine.com/u/falconblade)\
**Replies:** 1\
**Last updated:** [February 7, 2024, 3:24am UTC](https://forums.unrealengine.com/t/setting-a-by-ref-var-in-a-function-does-not-replicate-notify/407517 "2024-02-07T03:24:33Z")

</div>

I have a variable/property on a pawn blueprint that is replicated and set to auto-notify. If I pass that variable to a function by-reference and update it using set by-ref var inside the function, it does not Replicate/R…

---

## [How to reimport animation sequence with python](https://forums.unrealengine.com/t/how-to-reimport-animation-sequence-with-python/462235)

<div class="topic-metadata">

**Author:** [@Fabbrei](https://forums.unrealengine.com/u/Fabbrei)\
**Replies:** 5\
**Last updated:** [February 1, 2024, 4:28pm UTC](https://forums.unrealengine.com/t/how-to-reimport-animation-sequence-with-python/462235 "2024-02-01T16:28:17Z")

</div>

Hi, I’m using python to reimport SkeletalMesh in Unreal automatically. I have a SkeletalMesh with 4 animations sequence and i would like to reimport the SkeletalMesh and the animations related, with an FBX. I reimport…

---

## [Can python be used to modify blueprint class variables of structure types](https://forums.unrealengine.com/t/can-python-be-used-to-modify-blueprint-class-variables-of-structure-types/1649391)

<div class="topic-metadata">

**Author:** [@FakeMophead](https://forums.unrealengine.com/u/FakeMophead)\
**Replies:** 0\
**Last updated:** [January 28, 2024, 3:45pm UTC](https://forums.unrealengine.com/t/can-python-be-used-to-modify-blueprint-class-variables-of-structure-types/1649391 "2024-01-28T15:45:49Z")

</div>

So I have created a blueprint class which has a variable ‘MeshAssets’ which is an array of a custom structure I have created called 'S\_MeshVariationStruct". What I want to do is use python to populate this array with new…

---

## [BlutilityMenuExtensions.h no such file or directory](https://forums.unrealengine.com/t/blutilitymenuextensions-h-no-such-file-or-directory/150883)

<div class="topic-metadata">

**Author:** [@VesperDuck](https://forums.unrealengine.com/u/VesperDuck)\
**Replies:** 5\
**Last updated:** [January 28, 2024, 10:44am UTC](https://forums.unrealengine.com/t/blutilitymenuextensions-h-no-such-file-or-directory/150883 "2024-01-28T10:44:11Z")

</div>

Hey, I’m attempting to work on an AssetActionUtility blueprint, I’ve gone and created a c++ class to inherit from AssetActionUtility as well to use as the parent for the blueprint, but when I create the c++ class and UE …

---

## [why scrolling in Sequencer is not available???](https://forums.unrealengine.com/t/why-scrolling-in-sequencer-is-not-available/1636309)

<div class="topic-metadata">

**Author:** [@Raven8600](https://forums.unrealengine.com/u/Raven8600)\
**Replies:** 0\
**Last updated:** [January 23, 2024, 10:11am UTC](https://forums.unrealengine.com/t/why-scrolling-in-sequencer-is-not-available/1636309 "2024-01-23T10:11:25Z")

</div>

while I am arrange the objects in the sequencer , it prevent to scroll up while long mouse press , can you add this feature to program thank you

---

## [Does 'Set Timer by Event' not work in 'Editor Utility Widget'?](https://forums.unrealengine.com/t/does-set-timer-by-event-not-work-in-editor-utility-widget/651832)

<div class="topic-metadata">

**Author:** [@ilozen](https://forums.unrealengine.com/u/ilozen)\
**Replies:** 1\
**Last updated:** [January 23, 2024, 9:34am UTC](https://forums.unrealengine.com/t/does-set-timer-by-event-not-work-in-editor-utility-widget/651832 "2024-01-23T09:34:36Z")

</div>

I’m tryint to set a Timer in my Editor Utility Widget, that would work in PIE. When I launch the game and check breakpoints, the ‘Set Timer by Event’ node gets called but it doesn’t create the timer (the Return Value is …

---

## [Modify Actor Pivot Point Sprite in Editor](https://forums.unrealengine.com/t/modify-actor-pivot-point-sprite-in-editor/1635807)

<div class="topic-metadata">

**Author:** [@MatthewDZane](https://forums.unrealengine.com/u/MatthewDZane)\
**Replies:** 0\
**Last updated:** [January 23, 2024, 2:41am UTC](https://forums.unrealengine.com/t/modify-actor-pivot-point-sprite-in-editor/1635807 "2024-01-23T02:41:29Z")

</div>

Is there a way to modify the size or disable the actor pivot point sprites in editor. I would like to make it easier to see the contents of my scene in the editor viewport.

---

## [Taking multiple HighResShot from a command line Python script](https://forums.unrealengine.com/t/taking-multiple-highresshot-from-a-command-line-python-script/151672)

<div class="topic-metadata">

**Author:** [@darkczar](https://forums.unrealengine.com/u/darkczar)\
**Replies:** 7\
**Last updated:** [January 22, 2024, 9:30am UTC](https://forums.unrealengine.com/t/taking-multiple-highresshot-from-a-command-line-python-script/151672 "2024-01-22T09:30:27Z")

</div>

I put these 3 lines in a Python script… import unreal unreal.SystemLibrary.execute\_console\_command(unreal.EditorLevelLibrary.get\_editor\_world(), “HighResShot 2”) unreal.SystemLibrary.execute\_console\_command(unreal.Edi…

---

## [Re-Importing Skeletal Mesh not using new import options](https://forums.unrealengine.com/t/re-importing-skeletal-mesh-not-using-new-import-options/1627710)

<div class="topic-metadata">

**Author:** [@Benski191](https://forums.unrealengine.com/u/Benski191)\
**Replies:** 0\
**Last updated:** [January 20, 2024, 1:25am UTC](https://forums.unrealengine.com/t/re-importing-skeletal-mesh-not-using-new-import-options/1627710 "2024-01-20T01:25:05Z")

</div>

I have had an automated importer for skeletal meshes and animations for a while, however I just realized that when re-importing with different import options, they are not reflected on the asset. Here is my code for imp…

---

## [\[Common UI\] How to disable the resetting mouse position and cursor visibility on switched to controller?](https://forums.unrealengine.com/t/common-ui-how-to-disable-the-resetting-mouse-position-and-cursor-visibility-on-switched-to-controller/1627476)

<div class="topic-metadata">

**Author:** [@Elmarath](https://forums.unrealengine.com/u/Elmarath)\
**Replies:** 0\
**Last updated:** [January 19, 2024, 11:19pm UTC](https://forums.unrealengine.com/t/common-ui-how-to-disable-the-resetting-mouse-position-and-cursor-visibility-on-switched-to-controller/1627476 "2024-01-19T23:19:19Z")

</div>

In common UI there is a feature that resets the position of the mouse cursor to middle of the screen when switched to a controller. And this also disables the cursor visibility. My game is a topdown game and I use the c…

---

## [Variable input name and value to string](https://forums.unrealengine.com/t/variable-input-name-and-value-to-string/477763)

<div class="topic-metadata">

**Author:** [@visualart](https://forums.unrealengine.com/u/visualart)\
**Replies:** 11\
**Last updated:** [January 19, 2024, 10:24pm UTC](https://forums.unrealengine.com/t/variable-input-name-and-value-to-string/477763 "2024-01-19T22:24:32Z")

</div>

Hello! In C++ you can define MACRO and use #x to get name of the variable x. This is used in Engine code as well, for example if you search for #x you can find these useful MACROS: MSC\_FORMAT\_DIAGNOSTIC\_HELPER PREPROCE…

---

## [How to keep spawned actors during gameplay after quitting the game in editor](https://forums.unrealengine.com/t/how-to-keep-spawned-actors-during-gameplay-after-quitting-the-game-in-editor/1623063)

<div class="topic-metadata">

**Author:** [@Lorchaon](https://forums.unrealengine.com/u/Lorchaon)\
**Replies:** 3\
**Last updated:** [January 18, 2024, 5:17pm UTC](https://forums.unrealengine.com/t/how-to-keep-spawned-actors-during-gameplay-after-quitting-the-game-in-editor/1623063 "2024-01-18T17:17:35Z")

</div>

Hi there, currently i’m developing a stage building game. At the moment I am getting kind of frustrated on how to safe objects from the “Play in Editor” mode to “Editor Mode”. I need to adjust the placed objects after p…

---

## [How can I export asset file to BMP by the python script](https://forums.unrealengine.com/t/how-can-i-export-asset-file-to-bmp-by-the-python-script/630111)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_a5f69df21](https://forums.unrealengine.com/u/anonymous_user_a5f69df21)\
**Replies:** 1\
**Last updated:** [January 17, 2024, 1:49pm UTC](https://forums.unrealengine.com/t/how-can-i-export-asset-file-to-bmp-by-the-python-script/630111 "2024-01-17T13:49:25Z")

</div>

here is my script export\_path = r"/Game/test" root\_package\_path = "/Game/test" asset\_data\_array = unreal.AssetRegistryHelpers.get\_asset\_registry().get\_assets\_by\_path(root\_package\_path) unreal.log(len(asset\_data\_array)) …

---

## [Enable DLSS for linux project](https://forums.unrealengine.com/t/enable-dlss-for-linux-project/1493689)

<div class="topic-metadata">

**Author:** [@EugeneRoasted](https://forums.unrealengine.com/u/EugeneRoasted)\
**Replies:** 1\
**Last updated:** [January 16, 2024, 2:50am UTC](https://forums.unrealengine.com/t/enable-dlss-for-linux-project/1493689 "2024-01-16T02:50:58Z")

</div>

There is a project with Pixels Streaming that is built in Docker. There was a need to connect DLSS in this project. The only way to use DLSS on Linux is to connect DLSS SDK. Are there any examples of how to do this?

---

## [Can I add command/hotkey to the Blueprint Editors SEditorViewport from a Plugin?](https://forums.unrealengine.com/t/can-i-add-command-hotkey-to-the-blueprint-editors-seditorviewport-from-a-plugin/1604844)

<div class="topic-metadata">

**Author:** [@officernickwilde](https://forums.unrealengine.com/u/officernickwilde)\
**Replies:** 1\
**Last updated:** [January 13, 2024, 1:39pm UTC](https://forums.unrealengine.com/t/can-i-add-command-hotkey-to-the-blueprint-editors-seditorviewport-from-a-plugin/1604844 "2024-01-13T13:39:52Z")

</div>

Hi, Im writing an editor plugin that adds some basic transformation tools - I noticed that commands like translate/rotate/scale is added by appending directly to SEditorViewport::CommandList in SEditorViewport::BindComma…

---

## [Python API/highrescreenshot](https://forums.unrealengine.com/t/python-api-highrescreenshot/132783)

<div class="topic-metadata">

**Author:** [@frost-xyz](https://forums.unrealengine.com/u/frost-xyz)\
**Replies:** 9\
**Last updated:** [January 12, 2024, 4:27pm UTC](https://forums.unrealengine.com/t/python-api-highrescreenshot/132783 "2024-01-12T16:27:08Z")

</div>

Can’t see any mention of the High Res Screenshot tool in the Python documentation. Is this planned for the future?

---

## [Expose "Apply Instance Changes to Blueprint" to BP / C++ / Python?](https://forums.unrealengine.com/t/expose-apply-instance-changes-to-blueprint-to-bp-c-python/499509)

<div class="topic-metadata">

**Author:** [@CudaCal](https://forums.unrealengine.com/u/CudaCal)\
**Replies:** 3\
**Last updated:** [January 11, 2024, 4:58am UTC](https://forums.unrealengine.com/t/expose-apply-instance-changes-to-blueprint-to-bp-c-python/499509 "2024-01-11T04:58:44Z")

</div>

Hi everyone, I was wondering that why cannot have this function expose to C++ / BP / Python? Although I know that it is a minor issue but it can make my life a bit easier :joy: (I am lazy). Just expose to C++ is enough …

---

## [Return list of Function names inside Blueprint using Python?](https://forums.unrealengine.com/t/return-list-of-function-names-inside-blueprint-using-python/262247)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_173184d31](https://forums.unrealengine.com/u/anonymous_user_173184d31)\
**Replies:** 1\
**Last updated:** [January 9, 2024, 2:19am UTC](https://forums.unrealengine.com/t/return-list-of-function-names-inside-blueprint-using-python/262247 "2024-01-09T02:19:45Z")

</div>

Hey everyone, Is it possible to have a Python script return a list of the functions (the names as strings) inside a Blueprint using the native Unreal Python API?

---

## [How to move an actor in the view port using python](https://forums.unrealengine.com/t/how-to-move-an-actor-in-the-view-port-using-python/486086)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4288d6f2](https://forums.unrealengine.com/u/anonymous_user_4288d6f2)\
**Replies:** 1\
**Last updated:** [January 7, 2024, 3:56pm UTC](https://forums.unrealengine.com/t/how-to-move-an-actor-in-the-view-port-using-python/486086 "2024-01-07T15:56:57Z")

</div>

Hello, there good people. I have been working with python in the unreal engine for a couple of weeks now. So I want to move an actor from point A (0,0,0) to point B(0,300,0). Right now I was able to move the actor from…

---

## [Inconsistent FPS in editor](https://forums.unrealengine.com/t/inconsistent-fps-in-editor/1590187)

<div class="topic-metadata">

**Author:** [@T0maytoe](https://forums.unrealengine.com/u/T0maytoe)\
**Replies:** 13\
**Last updated:** [January 5, 2024, 2:37pm UTC](https://forums.unrealengine.com/t/inconsistent-fps-in-editor/1590187 "2024-01-05T14:37:14Z")

</div>

Hi! I would like to ask a question. I have a very strange issue. My FPS number in the editor is so inconsistent. Once I have 70-80 fps, once I only have 45-55 on the same level with the same settings. Has anyone experie…

---

## [How to set BluePrint Variable through Python API](https://forums.unrealengine.com/t/how-to-set-blueprint-variable-through-python-api/120073)

<div class="topic-metadata">

**Author:** [@magnus.larsson](https://forums.unrealengine.com/u/magnus.larsson)\
**Replies:** 1\
**Last updated:** [January 2, 2024, 4:39pm UTC](https://forums.unrealengine.com/t/how-to-set-blueprint-variable-through-python-api/120073 "2024-01-02T16:39:48Z")

</div>

Hey so I have a script creating my own child blueprints from my parent class. And I have exposed variables that I want to set but the only line I can find in the API documentation that makes any sense to me is this one: …

---

## [Scriptable Editor Tool, what the plan for the future?](https://forums.unrealengine.com/t/scriptable-editor-tool-what-the-plan-for-the-future/1576472)

<div class="topic-metadata">

**Author:** [@Mick129](https://forums.unrealengine.com/u/Mick129)\
**Replies:** 0\
**Last updated:** [December 31, 2023, 1:48pm UTC](https://forums.unrealengine.com/t/scriptable-editor-tool-what-the-plan-for-the-future/1576472 "2023-12-31T13:48:25Z")

</div>

Hello, I’m interested in going deep with the Scriptable Editor Tool for my assets on the marketplace but as it is experimental, I know it could be removed at any time so if I build an asset with it, it could end up inco…

---

## [Change folder color with python (runtime)](https://forums.unrealengine.com/t/change-folder-color-with-python-runtime/123835)

<div class="topic-metadata">

**Author:** [@neVeRmind8837](https://forums.unrealengine.com/u/neVeRmind8837)\
**Replies:** 1\
**Last updated:** [December 29, 2023, 2:59am UTC](https://forums.unrealengine.com/t/change-folder-color-with-python-runtime/123835 "2023-12-29T02:59:58Z")

</div>

So I found the workaround to change the ini file the folder color is saved in. But those changes will only be applied once I restart the editor. Is there the possibility to change the folder color at runtime?

---

## [Copy asset Thumbnail to new Texture2d?](https://forums.unrealengine.com/t/copy-asset-thumbnail-to-new-texture2d/138054)

<div class="topic-metadata">

**Author:** [@Garkev](https://forums.unrealengine.com/u/Garkev)\
**Replies:** 6\
**Last updated:** [December 28, 2023, 2:25pm UTC](https://forums.unrealengine.com/t/copy-asset-thumbnail-to-new-texture2d/138054 "2023-12-28T14:25:02Z")

</div>

Is it possible to write a python script to load an asset Thumbnail image into a new Texture2d asset that I can use at runtime in my UI?

---

## [How to get the transform of objects in UE4 with Python?](https://forums.unrealengine.com/t/how-to-get-the-transform-of-objects-in-ue4-with-python/477237)

<div class="topic-metadata">

**Author:** [@Anonymous\_a9d0f6f8f5225663a91b285ef892b0bb](https://forums.unrealengine.com/u/Anonymous_a9d0f6f8f5225663a91b285ef892b0bb)\
**Replies:** 1\
**Last updated:** [December 27, 2023, 3:24pm UTC](https://forums.unrealengine.com/t/how-to-get-the-transform-of-objects-in-ue4-with-python/477237 "2023-12-27T15:24:14Z")

</div>

For example: My UE4 outline has an object named “model\_ sade” How to get “model\_ sade” transform through Python code

---

## [I want to run Python's Word2vec at runtime with UE4.](https://forums.unrealengine.com/t/i-want-to-run-pythons-word2vec-at-runtime-with-ue4/438962)

<div class="topic-metadata">

**Author:** [@BP226](https://forums.unrealengine.com/u/BP226)\
**Replies:** 1\
**Last updated:** [December 27, 2023, 5:24am UTC](https://forums.unrealengine.com/t/i-want-to-run-pythons-word2vec-at-runtime-with-ue4/438962 "2023-12-27T05:24:24Z")

</div>

In addition, this is now around 4:00 PM so the reply may be slow. This is my first post to Anserhub. I am not good at English. But my friend translated it. To a nice friend called Google. Well, let’s get down to the …

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

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