# How to edit the values of a blueprint class that is a child and that is already in use by the player?

**URL:** <https://forums.unrealengine.com/t/how-to-edit-the-values-of-a-blueprint-class-that-is-a-child-and-that-is-already-in-use-by-the-player/2734931>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [July 10, 2026, 9:14pm UTC](https://forums.unrealengine.com/t/how-to-edit-the-values-of-a-blueprint-class-that-is-a-child-and-that-is-already-in-use-by-the-player/2734931 "2026-07-10T21:14:33Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shawn.O](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shawn.O](https://forums.unrealengine.com/u/Shawn.O)\
**Post date:** [July 10, 2026, 9:14pm UTC](https://forums.unrealengine.com/t/how-to-edit-the-values-of-a-blueprint-class-that-is-a-child-and-that-is-already-in-use-by-the-player/2734931/1 "2026-07-10T21:14:34Z")

</div>

I am designing a game right now where the guns damage, reload speed, and other traits are all held in a Blueprint class that is the child of a parent class. The parent class holds all the variables that the children get. I am having problems with editing them though. I want it so you can go to base, open a widget menu, and purchase upgrades for said weapons after you unlock them. The purchasing works but even when doing a cast to blueprint I can not seem to change their values. Any ideas?

---

<div class="post-metadata">

**Author:** ![Shawn.O](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shawn.O](https://forums.unrealengine.com/u/Shawn.O)\
**Post date:** [July 10, 2026, 9:15pm UTC](https://forums.unrealengine.com/t/how-to-edit-the-values-of-a-blueprint-class-that-is-a-child-and-that-is-already-in-use-by-the-player/2734931/2 "2026-07-10T21:15:21Z")

</div>

for context, I need to edit the children individually, one upgrade shouldn’t be applying to all the weapons.

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [July 10, 2026, 10:02pm UTC](https://forums.unrealengine.com/t/how-to-edit-the-values-of-a-blueprint-class-that-is-a-child-and-that-is-already-in-use-by-the-player/2734931/3 "2026-07-10T22:02:50Z")

</div>

Show the blueprint where you set the values and the one where you read them (preferably with print string)

Are you sure you are reading the values of the same object you’ve set? What about right after setting?

---

<div class="post-metadata">

**Author:** ![Shawn.O](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shawn.O](https://forums.unrealengine.com/u/Shawn.O)\
**Post date:** [July 11, 2026, 12:50am UTC](https://forums.unrealengine.com/t/how-to-edit-the-values-of-a-blueprint-class-that-is-a-child-and-that-is-already-in-use-by-the-player/2734931/4 "2026-07-11T00:50:25Z")

</div>

Value on widget

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/2/c/72c543f10a263eae8f55c2a93d24f06ede3d4c87.png)

Values in the parent Bp Class

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/7/e/77e657c4495f6232ce60484066c211b3209c2571.png)

values in the child bp class

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/b/c/abcfe9ae0ff9c8eed4081214ca5caf3c041067fa.png)

---

<div class="post-metadata">

**Author:** ![Husky211](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/husky211/32/1193324_2.png) [@Husky211](https://forums.unrealengine.com/u/Husky211)\
**Post date:** [July 11, 2026, 3:03am UTC](https://forums.unrealengine.com/t/how-to-edit-the-values-of-a-blueprint-class-that-is-a-child-and-that-is-already-in-use-by-the-player/2734931/5 "2026-07-11T03:03:20Z")

</div>

1. u don’t need the cast because the variable is already “pistol a full auto”
2. use pistol a full auto broken the use of a parent class so better change the variable to “weapon master”
3. I don’t see anywhere that you pass the pointer that refers to your widget variable

---

<div class="post-metadata">

**Author:** ![Shawn.O](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shawn.O](https://forums.unrealengine.com/u/Shawn.O)\
**Post date:** [July 11, 2026, 4:32am UTC](https://forums.unrealengine.com/t/how-to-edit-the-values-of-a-blueprint-class-that-is-a-child-and-that-is-already-in-use-by-the-player/2734931/6 "2026-07-11T04:32:17Z")

</div>

I’m having difficulty understanding would you have a screenshot of this setup?

---

<div class="post-metadata">

**Author:** ![Husky211](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/husky211/32/1193324_2.png) [@Husky211](https://forums.unrealengine.com/u/Husky211)\
**Post date:** [July 11, 2026, 4:43am UTC](https://forums.unrealengine.com/t/how-to-edit-the-values-of-a-blueprint-class-that-is-a-child-and-that-is-already-in-use-by-the-player/2734931/7 "2026-07-11T04:43:02Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/a/b/cabeb966b0f46cbd4b4653b1aeb3df99d2ed63e8.png)

---

<div class="post-metadata">

**Author:** ![Shawn.O](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shawn.O](https://forums.unrealengine.com/u/Shawn.O)\
**Post date:** [July 11, 2026, 12:28pm UTC](https://forums.unrealengine.com/t/how-to-edit-the-values-of-a-blueprint-class-that-is-a-child-and-that-is-already-in-use-by-the-player/2734931/8 "2026-07-11T12:28:33Z")

</div>

Oh! So you’re saying the cast to is the problem?

---

<div class="post-metadata">

**Author:** ![Shawn.O](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shawn.O](https://forums.unrealengine.com/u/Shawn.O)\
**Post date:** [July 11, 2026, 1:40pm UTC](https://forums.unrealengine.com/t/how-to-edit-the-values-of-a-blueprint-class-that-is-a-child-and-that-is-already-in-use-by-the-player/2734931/9 "2026-07-11T13:40:41Z")

</div>

I tried this setup but I just get the accessed none error.

---

<div class="post-metadata">

**Author:** ![Shawn.O](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shawn.O](https://forums.unrealengine.com/u/Shawn.O)\
**Post date:** [July 11, 2026, 1:53pm UTC](https://forums.unrealengine.com/t/how-to-edit-the-values-of-a-blueprint-class-that-is-a-child-and-that-is-already-in-use-by-the-player/2734931/10 "2026-07-11T13:53:52Z")

</div>

What I am noticing is that the variables can not be set from outside the blueprint class, is there a way around that?

---

<div class="post-metadata">

**Author:** ![Infant\_Zero](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/infant_zero/32/715655_2.png) [@Infant\_Zero](https://forums.unrealengine.com/u/Infant_Zero)\
**Post date:** [July 11, 2026, 5:27pm UTC](https://forums.unrealengine.com/t/how-to-edit-the-values-of-a-blueprint-class-that-is-a-child-and-that-is-already-in-use-by-the-player/2734931/11 "2026-07-11T17:27:29Z")

</div>

I believe the issue is likely how you’re referencing your BP actor. Most probably, you aren’t referencing the instance of the actor you want at all. Below is a very basic set up, which works by crudely grabbing hard references. I highly recommend using interfaces where possible, but just so you can see what’s needed:

 ![01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/5/2/6524085375db494e3d6fbeea3601ca0229a54424.png)

 ![02](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/2/4/824555e6a349ff64f7423dbe053b804aa12953ee.png)

 ![03](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/0/6/206cb417ae5c9cc6d8703c3aac3f883cdf24d8cf.png)

 ![04](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/1/6/616c948da4611a3fabceecafec3debef64d15a12.png)

 ![05](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/e/f/3efcf1c4d776bbe65b1ce8093a289228dd661ad0.png)

As mentioned, ‘Get Actor Of Class’ is crude, so you may wish to define your actors with collision overlaps, and/or tags, and/or unique interfaces. Store these actor references in your player character or components attached to something else persistent in your level.

Consider checking out inventory or item tutorials online for more specifics.

---

<div class="post-metadata">

**Author:** ![Shawn.O](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shawn.O](https://forums.unrealengine.com/u/Shawn.O)\
**Post date:** [July 11, 2026, 5:55pm UTC](https://forums.unrealengine.com/t/how-to-edit-the-values-of-a-blueprint-class-that-is-a-child-and-that-is-already-in-use-by-the-player/2734931/12 "2026-07-11T17:55:19Z")

</div>

Oh so like add a collision sphere that makes the weapon update by having variables stored inside the player from the upgrade menu?

---

<div class="post-metadata">

**Author:** ![Shawn.O](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shawn.O](https://forums.unrealengine.com/u/Shawn.O)\
**Post date:** [July 11, 2026, 5:55pm UTC](https://forums.unrealengine.com/t/how-to-edit-the-values-of-a-blueprint-class-that-is-a-child-and-that-is-already-in-use-by-the-player/2734931/13 "2026-07-11T17:55:55Z")

</div>

I wish this would work though but it is not an actor but a class based of a parent class.

---

<div class="post-metadata">

**Author:** ![Infant\_Zero](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/infant_zero/32/715655_2.png) [@Infant\_Zero](https://forums.unrealengine.com/u/Infant_Zero)\
**Post date:** [July 11, 2026, 8:52pm UTC](https://forums.unrealengine.com/t/how-to-edit-the-values-of-a-blueprint-class-that-is-a-child-and-that-is-already-in-use-by-the-player/2734931/14 "2026-07-11T20:52:42Z")

</div>

The system I use is actually based on inheritance (parent class), I just threw together a simple mock-up. However, the key takeaway is that you can’t get a reference to a specific actor in your level until your level (and subsequent actor) has been rendered.

You are referencing the generic BP actor (the file), you need to reference the very specific instance of it in your level. In other words, if you have three of the same swords in your inventory, which specific one should be equipped, or increase in attack value.

My item system is a Frankenstein of many different concepts, so I can’t give you an exact link to a tutorial for a better explanation, but the item defining bits come from here (how to get the actor reference into your widget):

[Pick Up Item Using IK In Unreal Engine](https://www.youtube.com/watch?v=Z9z5iyRPvbg)

Essentially, attach a collision volume to your player character, which speaks back-and-forth with the overlapped items (actors) to create references for use later, instead of ‘Get Actor Of Class’ nodes. Once your player has references to your items, you can allow the items to store their own variables since the player is persistent, but others might recommend data tables for item attributes and stats. Again, a tutorial would be a good place to look for a more in-depth, modular system.

Another type, which is a bit more widget-based is here:

[Slot Inventory Tutorial Part 1 - Unreal Engine 5.4+](https://www.youtube.com/watch?v=VnB-TOpQkcE&t=1s)

I imagine the rest of your set up is fine, so you may only need to consider how references are handled, and how definitions are passed between the widgets, player, and BP actors (items).
