# Help with Learning Agents plugin UE 5.4

**URL:** <https://forums.unrealengine.com/t/help-with-learning-agents-plugin-ue-5-4/2525958>\
**Category:** Programming & Scripting\
**Tags:** Reinforcement-Learning, learning, unreal-engine, Machine-Learning, Learning-Agents, question, Blueprint\
**Created:** [May 24, 2025, 11:53am UTC](https://forums.unrealengine.com/t/help-with-learning-agents-plugin-ue-5-4/2525958 "2025-05-24T11:53:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![QYQYA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@QYQYA](https://forums.unrealengine.com/u/QYQYA)\
**Post date:** [May 24, 2025, 11:53am UTC](https://forums.unrealengine.com/t/help-with-learning-agents-plugin-ue-5-4/2525958/1 "2025-05-24T11:53:17Z")

</div>

![RDT_20250524_1438275076105920625684473](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/8/a/f8a479825f376f103025e3a73df9ac9b4e17bb27.png)

Is these all it takes to indicate the wall location, so learning agents’ bots can use it as cover? I assume I need to change something in bp trainer and add reward for reaching the wall, but I don’t know how

---

<div class="post-metadata">

**Author:** ![QYQYA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@QYQYA](https://forums.unrealengine.com/u/QYQYA)\
**Post date:** [May 24, 2025, 11:54am UTC](https://forums.unrealengine.com/t/help-with-learning-agents-plugin-ue-5-4/2525958/2 "2025-05-24T11:54:41Z")

</div>

![RDT_20250524_1438232131027247790536004](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/b/6/cb6f557088dae45d1947112a814ad62d26854df1.png)

---

<div class="post-metadata">

**Author:** ![QYQYA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@QYQYA](https://forums.unrealengine.com/u/QYQYA)\
**Post date:** [May 24, 2025, 11:55am UTC](https://forums.unrealengine.com/t/help-with-learning-agents-plugin-ue-5-4/2525958/3 "2025-05-24T11:55:21Z")

</div>

![RDT_20250524_1438291125609511304071309](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/a/12aff78845856fc8ea7ad742327c42a14a6812e4.png)

---

<div class="post-metadata">

**Author:** ![QYQYA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@QYQYA](https://forums.unrealengine.com/u/QYQYA)\
**Post date:** [May 24, 2025, 11:55am UTC](https://forums.unrealengine.com/t/help-with-learning-agents-plugin-ue-5-4/2525958/4 "2025-05-24T11:55:58Z")

</div>

![RDT_20250524_1438318287732347027427318](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/b/8/bb80904935823ec85fb59746e98c8a0c7bf6cb4d.jpeg)

---

<div class="post-metadata">

**Author:** ![Deathcalibur](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/deathcalibur/32/1037610_2.png) [@Deathcalibur](https://forums.unrealengine.com/u/Deathcalibur)\
**Post date:** [May 28, 2025, 5:31pm UTC](https://forums.unrealengine.com/t/help-with-learning-agents-plugin-ue-5-4/2525958/5 "2025-05-28T17:31:17Z")

</div>

The scale looks too small here. Maybe 1000 or more depending on how far you can get from the nearest wall. Typically you want the values to be in the range of 0 to 1. Otherwise, I think everything looks good.

For rewards, I’m not sure if you want to explicitly reward using the walls or not. This might be hard to code up but maybe you get rewarded every time the wall absorbs an enemy shot?
