# Programming & Scripting

**URL:** https://forums.unrealengine.com/c/development-discussion/programming-scripting/148.md?page=90

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

**Page:** 91

---

## [How to correctly compare a color with a list of colors in a material.](https://forums.unrealengine.com/t/how-to-correctly-compare-a-color-with-a-list-of-colors-in-a-material/2724522)

<div class="topic-metadata">

**Author:** [@mamingalaxi\_yt](https://forums.unrealengine.com/u/mamingalaxi_yt)\
**Replies:** 2\
**Last updated:** [May 27, 2026, 12:08pm UTC](https://forums.unrealengine.com/t/how-to-correctly-compare-a-color-with-a-list-of-colors-in-a-material/2724522 "2026-05-27T12:08:05Z")

</div>

In an optimized way (without going through a dozen if), I would like to compare a given color in a material with a list of colors. If the color is not part of the list of colors, it should display another one; otherwise,…

---

## [用python脚本在影片渲染队列里渲染影片的异步问题没有解决 ](https://forums.unrealengine.com/t/python/2711862)

<div class="topic-metadata">

**Author:** [@minStarLwx](https://forums.unrealengine.com/u/minStarLwx)\
**Replies:** 1\
**Last updated:** [May 27, 2026, 9:34am UTC](https://forums.unrealengine.com/t/python/2711862 "2026-05-27T09:34:55Z")

</div>

import unreal import time CONFIG\_PATH = "/Game/DesertOsais" def get\_all\_camera\_actors\_in\_range(editor\_actor\_subs, start, end): """获取指定范围的相机""" all\_actors = editor\_actor\_subs.get\_all\_level\_actors() camera\_l…

---

## [How can I get my Perfect Block Timer working properly?](https://forums.unrealengine.com/t/how-can-i-get-my-perfect-block-timer-working-properly/2724612)

<div class="topic-metadata">

**Author:** [@TheDemandinPath](https://forums.unrealengine.com/u/TheDemandinPath)\
**Replies:** 1\
**Last updated:** [May 27, 2026, 6:18am UTC](https://forums.unrealengine.com/t/how-can-i-get-my-perfect-block-timer-working-properly/2724612 "2026-05-27T06:18:49Z")

</div>

Right now, I am working on a perfect block mechanic in my game. AnimNotify methods of perfect blocking won’t work for how my block system functions, so I decided to do a timer based perfect block method. The intended ef…

---

## [FScreenShotRequest機能とHighResScreenShot機能の違いについて ](https://forums.unrealengine.com/t/fscreenshotrequest-highresscreenshot/2731308)

<div class="topic-metadata">

**Author:** [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Replies:** 2\
**Last updated:** [May 27, 2026, 5:34am UTC](https://forums.unrealengine.com/t/fscreenshotrequest-highresscreenshot/2731308 "2026-05-27T05:34:35Z")

</div>

お世話になっております。 「HighResScreenShot」がLumen の描画が崩れるといった話や今後廃止予定と以前Epicの担当者様から伺い、現在弊社ではMRG(Movie Render Graph)への置き換えをしています。 ​ その中で弊社システムではリアルタイム画像出力機能の部分で「FScreenShotRequest」機能も使っていることがわかり、こちらの機能もMRGへ置き換えすべきか調査しております。 ​ そ…

---

## [World Settings object changing while travelling through partitioned world](https://forums.unrealengine.com/t/world-settings-object-changing-while-travelling-through-partitioned-world/2724224)

<div class="topic-metadata">

**Author:** [@N1ghtwish386](https://forums.unrealengine.com/u/N1ghtwish386)\
**Replies:** 1\
**Last updated:** [May 27, 2026, 4:08am UTC](https://forums.unrealengine.com/t/world-settings-object-changing-while-travelling-through-partitioned-world/2724224 "2026-05-27T04:08:47Z")

</div>

I’ve noticed one strange behavior. Tried to look after it here and google it, but found nothing. So, what’s up? I have custom World Settings class with some UPROPERTY(EditDefaultsOnly) stuff that needs to be set in the …

---

## [Interfaces inheriting from other interfaces](https://forums.unrealengine.com/t/interfaces-inheriting-from-other-interfaces/26298)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_6f48ddab](https://forums.unrealengine.com/u/anonymous_user_6f48ddab)\
**Replies:** 7\
**Last updated:** [May 27, 2026, 3:12am UTC](https://forums.unrealengine.com/t/interfaces-inheriting-from-other-interfaces/26298 "2026-05-27T03:12:31Z")

</div>

Hey there. Just thought I would share something I stumbled upon while messing with some code, trying to break things, who knows what I was thinking lol. I wasn’t able to find any documentation or wiki entries mentioning…

---

## [How to animate something like a rubberband?](https://forums.unrealengine.com/t/how-to-animate-something-like-a-rubberband/2723816)

<div class="topic-metadata">

**Author:** [@ViceVersa](https://forums.unrealengine.com/u/ViceVersa)\
**Replies:** 1\
**Last updated:** [May 26, 2026, 10:45pm UTC](https://forums.unrealengine.com/t/how-to-animate-something-like-a-rubberband/2723816 "2026-05-26T22:45:02Z")

</div>

Hello, I want to have something animated similar to a rubber band, as in if a ball hits it, it would bend in and then instantly slingshot the ball out. But the band would need to bend in different places depending on th…

---

## [Is there a way to change scroll bar to certain point](https://forums.unrealengine.com/t/is-there-a-way-to-change-scroll-bar-to-certain-point/2723687)

<div class="topic-metadata">

**Author:** [@ddave104](https://forums.unrealengine.com/u/ddave104)\
**Replies:** 4\
**Last updated:** [May 26, 2026, 9:06pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-change-scroll-bar-to-certain-point/2723687 "2026-05-26T21:06:52Z")

</div>

I trying to change my scroll bar to a certain point down. Is that possible?

---

## [New Matchmaking Island Settings Questions](https://forums.unrealengine.com/t/new-matchmaking-island-settings-questions/2724595)

<div class="topic-metadata">

**Author:** [@woodinjake](https://forums.unrealengine.com/u/woodinjake)\
**Replies:** 0\
**Last updated:** [May 26, 2026, 8:42pm UTC](https://forums.unrealengine.com/t/new-matchmaking-island-settings-questions/2724595 "2026-05-26T20:42:10Z")

</div>

I have a map that will be a 16-player Zone Wars, similar to an OG Desert Zone Wars Map. I’m confused about the newer matchmaking settings: Minimum Players Overtime Player Target Queue Main Duration Queue Overtime Dur…

---

## [CommonUI Input Routing - Widget Visibility causes unintended routing ](https://forums.unrealengine.com/t/commonui-input-routing-widget-visibility-causes-unintended-routing/2734319)

<div class="topic-metadata">

**Author:** [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Replies:** 7\
**Last updated:** [June 8, 2026, 8:47pm UTC](https://forums.unrealengine.com/t/commonui-input-routing-widget-visibility-causes-unintended-routing/2734319 "2026-06-08T20:47:43Z")

</div>

CommonUIRouterBase tries to find the active root during its Tick so that it can find the root object displayed on top of others and mark it as the \`ActiveRoot\` so that any input can be routed to the widgets within that R…

---

## [Character speed is tied to camera rotation](https://forums.unrealengine.com/t/character-speed-is-tied-to-camera-rotation/2655997)

<div class="topic-metadata">

**Author:** [@Dozzirik](https://forums.unrealengine.com/u/Dozzirik)\
**Replies:** 2\
**Last updated:** [May 26, 2026, 6:37pm UTC](https://forums.unrealengine.com/t/character-speed-is-tied-to-camera-rotation/2655997 "2026-05-26T18:37:02Z")

</div>

hello. my character slows down when rotating to camere. how i can fix it?

---

## [Respawn local multiplayer](https://forums.unrealengine.com/t/respawn-local-multiplayer/635857)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_febbf1271](https://forums.unrealengine.com/u/anonymous_user_febbf1271)\
**Replies:** 8\
**Last updated:** [May 26, 2026, 5:54pm UTC](https://forums.unrealengine.com/t/respawn-local-multiplayer/635857 "2026-05-26T17:54:37Z")

</div>

Hello, i would like to do blueprint local multiplayer respawn, i have problem in the possess whith the get player controller, i dont know how differentiate the player 1 and player 2, becose if i kill the player 1 and in …

---

## [Point Cloud from 360 Footage Possible or in Update?](https://forums.unrealengine.com/t/point-cloud-from-360-footage-possible-or-in-update/2724201)

<div class="topic-metadata">

**Author:** [@tomhalpin8](https://forums.unrealengine.com/u/tomhalpin8)\
**Replies:** 4\
**Last updated:** [May 26, 2026, 5:45pm UTC](https://forums.unrealengine.com/t/point-cloud-from-360-footage-possible-or-in-update/2724201 "2026-05-26T17:45:08Z")

</div>

I’m still new at Reality Capture. I’ve gotten into Gaussian Spats using 360 footage from an Insta360 camera. I’m currently using SfM to generate Point Clouds and camera positions with varying results. I’m wondering if I …

---

## [Does using a piece of a skeletal mesh still load the entirety of the skeleton, and if so, is this problematic/excessively costly?](https://forums.unrealengine.com/t/does-using-a-piece-of-a-skeletal-mesh-still-load-the-entirety-of-the-skeleton-and-if-so-is-this-problematic-excessively-costly/2724357)

<div class="topic-metadata">

**Author:** [@Killerbanaple](https://forums.unrealengine.com/u/Killerbanaple)\
**Replies:** 4\
**Last updated:** [May 26, 2026, 5:19pm UTC](https://forums.unrealengine.com/t/does-using-a-piece-of-a-skeletal-mesh-still-load-the-entirety-of-the-skeleton-and-if-so-is-this-problematic-excessively-costly/2724357 "2026-05-26T17:19:31Z")

</div>

I am working on a weapon attachment system which I would like to be based around the concept of skeletal mesh merging to get the weapon models. As I understand it, in order to do a skeletal mesh merge requires that the c…

---

## [Question about modular characters and hit detection.](https://forums.unrealengine.com/t/question-about-modular-characters-and-hit-detection/2724560)

<div class="topic-metadata">

**Author:** [@Killerbanaple](https://forums.unrealengine.com/u/Killerbanaple)\
**Replies:** 0\
**Last updated:** [May 26, 2026, 5:14pm UTC](https://forums.unrealengine.com/t/question-about-modular-characters-and-hit-detection/2724560 "2026-05-26T17:14:03Z")

</div>

I am working with a modular character pack from fab but am running into issues with hit detection following skeletal mesh merging. When I have the individual character components in my blueprint, hit detection works fine…

---

## [Dualsense Support  ](https://forums.unrealengine.com/t/dualsense-support/2723842)

<div class="topic-metadata">

**Author:** [@ValhallaX880](https://forums.unrealengine.com/u/ValhallaX880)\
**Replies:** 1\
**Last updated:** [May 26, 2026, 5:11pm UTC](https://forums.unrealengine.com/t/dualsense-support/2723842 "2026-05-26T17:11:56Z")

</div>

Is it at all possible UE5 might support Dualsense natively in the near future?

---

## ["While trying to load package"  Asset isn't available/Not synced.   ](https://forums.unrealengine.com/t/while-trying-to-load-package-asset-isnt-available-not-synced/2723732)

<div class="topic-metadata">

**Author:** [@JohanRabin](https://forums.unrealengine.com/u/JohanRabin)\
**Replies:** 2\
**Last updated:** [May 26, 2026, 5:03pm UTC](https://forums.unrealengine.com/t/while-trying-to-load-package-asset-isnt-available-not-synced/2723732 "2026-05-26T17:03:34Z")

</div>

Hey! I’m new to game development all together and at the final stages of finishing my first game. Out of nowhere I started getting these messages . I tried reloading the assets in the error message with no progress. The …

---

## [Unreal Engine 5.4 Animation Montage is unresponsive after I press the input once](https://forums.unrealengine.com/t/unreal-engine-5-4-animation-montage-is-unresponsive-after-i-press-the-input-once/2724553)

<div class="topic-metadata">

**Author:** [@Kamataya\_Reaper1](https://forums.unrealengine.com/u/Kamataya_Reaper1)\
**Replies:** 0\
**Last updated:** [May 26, 2026, 5:00pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-4-animation-montage-is-unresponsive-after-i-press-the-input-once/2724553 "2026-05-26T17:00:06Z")

</div>

So I’m trying to do a basic slash attack for a project, but it only works fine after the first slash, but the second time I have to click a bunch of times just to attack again, and can only spam the attack while another …

---

## [Generic or Parametric Type function for this, is it possible?](https://forums.unrealengine.com/t/generic-or-parametric-type-function-for-this-is-it-possible/2724523)

<div class="topic-metadata">

**Author:** [@Abrizzer](https://forums.unrealengine.com/u/Abrizzer)\
**Replies:** 0\
**Last updated:** [May 26, 2026, 2:34pm UTC](https://forums.unrealengine.com/t/generic-or-parametric-type-function-for-this-is-it-possible/2724523 "2026-05-26T14:34:00Z")

</div>

This is what I’m currently doing for querying components that I need at runtime. but honestly I don’t want to repeat that for loop for each query, Don’t know if it can be approached with a Parametric Type function to d…

---

## [PCG GPU not working wizh Blueprint Actor](https://forums.unrealengine.com/t/pcg-gpu-not-working-wizh-blueprint-actor/2724485)

<div class="topic-metadata">

**Author:** [@Gamelp\_01](https://forums.unrealengine.com/u/Gamelp_01)\
**Replies:** 0\
**Last updated:** [May 26, 2026, 1:10pm UTC](https://forums.unrealengine.com/t/pcg-gpu-not-working-wizh-blueprint-actor/2724485 "2026-05-26T13:10:17Z")

</div>

Hi I have a Blueprint Actor which has a PCG Component that just spawns 1 single Point with GPU enabled on the Static Mesh Spawner. The Problem is that when I drag just the PCG Volume in the Level I see the Mesh and also …

---

## [C drive losing space fast each time I try to use Unreal Engine although EVERYTHING is on a different drive!](https://forums.unrealengine.com/t/c-drive-losing-space-fast-each-time-i-try-to-use-unreal-engine-although-everything-is-on-a-different-drive/469518)

<div class="topic-metadata">

**Author:** [@DarkNibir](https://forums.unrealengine.com/u/DarkNibir)\
**Replies:** 19\
**Last updated:** [May 26, 2026, 12:38pm UTC](https://forums.unrealengine.com/t/c-drive-losing-space-fast-each-time-i-try-to-use-unreal-engine-although-everything-is-on-a-different-drive/469518 "2026-05-26T12:38:53Z")

</div>

Hi, I just installed UE4 yesterday and started to learn from today, I got the 4.25.3 version, I changed the Engine install location from C to E before starting to download, since E has tons more space (around 60 GB of f…

---

## [Using Enum to tap sprint or control movement state?](https://forums.unrealengine.com/t/using-enum-to-tap-sprint-or-control-movement-state/2724387)

<div class="topic-metadata">

**Author:** [@Verdict0224](https://forums.unrealengine.com/u/Verdict0224)\
**Replies:** 1\
**Last updated:** [May 26, 2026, 11:54am UTC](https://forums.unrealengine.com/t/using-enum-to-tap-sprint-or-control-movement-state/2724387 "2026-05-26T11:54:22Z")

</div>

Hey friends. I could use some help figuring out how to make a blueprint. I have one for tap sprinting. Press shift, and you can sprint at high speed. Someone said a flipflop is bad practice and I should use an enumeratio…

---

## [Verse OnBegin not executing even in fresh project with simple HUD message test ](https://forums.unrealengine.com/t/verse-onbegin-not-executing-even-in-fresh-project-with-simple-hud-message-test/2722848)

<div class="topic-metadata">

**Author:** [@camdig2004](https://forums.unrealengine.com/u/camdig2004)\
**Replies:** 4\
**Last updated:** [May 26, 2026, 6:52am UTC](https://forums.unrealengine.com/t/verse-onbegin-not-executing-even-in-fresh-project-with-simple-hud-message-test/2722848 "2026-05-26T06:52:31Z")

</div>

Hi everyone, I’m having a really strange issue with Verse in UEFN and I’ve spent hours trying to isolate it but nothing seems to work. My problem is that OnBegin does not appear to execute at all. I originally thought…

---

## [AI Move To Not Moving Toward Player](https://forums.unrealengine.com/t/ai-move-to-not-moving-toward-player/2724075)

<div class="topic-metadata">

**Author:** [@Umbra-Hawk](https://forums.unrealengine.com/u/Umbra-Hawk)\
**Replies:** 15\
**Last updated:** [May 26, 2026, 5:52am UTC](https://forums.unrealengine.com/t/ai-move-to-not-moving-toward-player/2724075 "2026-05-26T05:52:39Z")

</div>

Hey there, I’ve been trying to get my AI Move To node working so this BP\_Jailer can move toward the BP\_Player, but each time I run it, it immediately fails. I have the Nav Mesh on the level, the player reference is cor…

---

## [Attaching props to an animated terrain](https://forums.unrealengine.com/t/attaching-props-to-an-animated-terrain/2724424)

<div class="topic-metadata">

**Author:** [@membranasozial](https://forums.unrealengine.com/u/membranasozial)\
**Replies:** 0\
**Last updated:** [May 26, 2026, 5:32am UTC](https://forums.unrealengine.com/t/attaching-props-to-an-animated-terrain/2724424 "2026-05-26T05:32:33Z")

</div>

Hi! I have a large animated island creature in UE5.6 made as a skeletal mesh. The terrain bends and deforms through bone animation (snake-like / organic movement). I need to place around 200 lowpoly environmental props …

---

## [Cluster Union was completely broken after the update...](https://forums.unrealengine.com/t/cluster-union-was-completely-broken-after-the-update/2706254)

<div class="topic-metadata">

**Author:** [@ssks1914](https://forums.unrealengine.com/u/ssks1914)\
**Replies:** 1\
**Last updated:** [May 26, 2026, 4:52am UTC](https://forums.unrealengine.com/t/cluster-union-was-completely-broken-after-the-update/2706254 "2026-05-26T04:52:01Z")

</div>

After updating the game engine, Cluster Union no longer works. When i start PIE, all the specified pieces will gather in the center. I have absolutely no idea why this happens. Furthermore, the issue of the Line…

---

## [How can I connect different geometry collections using a proximity?](https://forums.unrealengine.com/t/how-can-i-connect-different-geometry-collections-using-a-proximity/2706102)

<div class="topic-metadata">

**Author:** [@ssks1914](https://forums.unrealengine.com/u/ssks1914)\
**Replies:** 1\
**Last updated:** [May 26, 2026, 4:48am UTC](https://forums.unrealengine.com/t/how-can-i-connect-different-geometry-collections-using-a-proximity/2706102 "2026-05-26T04:48:05Z")

</div>

I want to connect geometry collections placed within a world or blueprint using distance, but how can I connect different GC assets? The dataflow has a Proximity node, but it seems to only work within geometry collectio…

---

## [The attached geometry collection is blown up](https://forums.unrealengine.com/t/the-attached-geometry-collection-is-blown-up/2717433)

<div class="topic-metadata">

**Author:** [@FairboyMarx](https://forums.unrealengine.com/u/FairboyMarx)\
**Replies:** 1\
**Last updated:** [May 26, 2026, 4:29am UTC](https://forums.unrealengine.com/t/the-attached-geometry-collection-is-blown-up/2717433 "2026-05-26T04:29:46Z")

</div>

If i attach a geometry collection to the end of a static mesh and try to simulate physics on the static mesh, it will spin and be blown off somewhere. There is no collision between the two, the static mesh is heavier, a…

---

## [Chaos Solver completely destroys chaos physics.](https://forums.unrealengine.com/t/chaos-solver-completely-destroys-chaos-physics/2721585)

<div class="topic-metadata">

**Author:** [@FairboyMarx](https://forums.unrealengine.com/u/FairboyMarx)\
**Replies:** 1\
**Last updated:** [May 26, 2026, 4:26am UTC](https://forums.unrealengine.com/t/chaos-solver-completely-destroys-chaos-physics/2721585 "2026-05-26T04:26:21Z")

</div>

I was having trouble breaking geometry collections, so I looked into it and found suggestions to use Chaos Solver, which I decided to try.I simply placed the items created from the template directly into the world. The …

---

## [Best way to efficiently toggle visibility of multiple stage selection buttons based on SaveGame data?](https://forums.unrealengine.com/t/best-way-to-efficiently-toggle-visibility-of-multiple-stage-selection-buttons-based-on-savegame-data/2724265)

<div class="topic-metadata">

**Author:** [@e7de84f7c71249dc8a21a7d1f05899f3](https://forums.unrealengine.com/u/e7de84f7c71249dc8a21a7d1f05899f3)\
**Replies:** 3\
**Last updated:** [May 26, 2026, 3:40am UTC](https://forums.unrealengine.com/t/best-way-to-efficiently-toggle-visibility-of-multiple-stage-selection-buttons-based-on-savegame-data/2724265 "2026-05-26T03:40:45Z")

</div>

Hi everyone, I am currently making a stage selection screen in Unreal Engine. I want to dynamically reveal stage buttons as the player progresses through the game. Right now, I am planning to save variables like “Stage…

[Previous page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/148.md?page=89)

[Next page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/148.md?page=91)
