# \#add-variable

**URL:** https://forums.unrealengine.com/tag/add-variable/10491.md

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

---

## [Instance Editable Variables can't be edited in editor?](https://forums.unrealengine.com/t/instance-editable-variables-cant-be-edited-in-editor/428237)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f9d1e2de1](https://forums.unrealengine.com/u/anonymous_user_f9d1e2de1)\
**Replies:** 8\
**Last updated:** [May 19, 2025, 11:35pm UTC](https://forums.unrealengine.com/t/instance-editable-variables-cant-be-edited-in-editor/428237 "2025-05-19T23:35:43Z")

</div>

I have an object called MaterialPickup, that has a Enum that defines the type of pickup, and the StaticMesh is changed by that variable Then in the editor, i have placed 3 objects of this class, each one with 1 diffe…

---

## [Updating array of struct](https://forums.unrealengine.com/t/updating-array-of-struct/423545)

<div class="topic-metadata">

**Author:** [@t0msk](https://forums.unrealengine.com/u/t0msk)\
**Replies:** 12\
**Last updated:** [May 11, 2025, 1:37pm UTC](https://forums.unrealengine.com/t/updating-array-of-struct/423545 "2025-05-11T13:37:41Z")

</div>

Hello, I have array of struct and I would like to ask you what is correct way to update specific variable on specific index with new value. You can see my blueprint script below, and you can see that I get element from…

---

## [How to get my array to add?](https://forums.unrealengine.com/t/how-to-get-my-array-to-add/2392540)

<div class="topic-metadata">

**Author:** [@Kamukasha](https://forums.unrealengine.com/u/Kamukasha)\
**Replies:** 0\
**Last updated:** [March 16, 2025, 9:16am UTC](https://forums.unrealengine.com/t/how-to-get-my-array-to-add/2392540 "2025-03-16T09:16:41Z")

</div>

Hello, It wont add my structure array? It works in one project, but not the other one? Im not sure why… Ive tried many different things but cant seem to get it to add. Tbe parent array adds. And as I said, the other proj…

---

## [How to play Sound when all Booleans are true](https://forums.unrealengine.com/t/how-to-play-sound-when-all-booleans-are-true/1867992)

<div class="topic-metadata">

**Author:** [@avdain](https://forums.unrealengine.com/u/avdain)\
**Replies:** 18\
**Last updated:** [May 22, 2024, 10:48pm UTC](https://forums.unrealengine.com/t/how-to-play-sound-when-all-booleans-are-true/1867992 "2024-05-22T22:48:42Z")

</div>

Hey, I’ve already added SET and at the moment I don’t know how to check all the variables to see if they are true so that another event can be executed? Thanks. Get Level Blueprint Set First 1 - Widget Blueprint …

---

## [Make a list of player characters / Actors with the following:](https://forums.unrealengine.com/t/make-a-list-of-player-characters-actors-with-the-following/1618242)

<div class="topic-metadata">

**Author:** [@Tettey\_Nartey](https://forums.unrealengine.com/u/Tettey_Nartey)\
**Replies:** 0\
**Last updated:** [January 16, 2024, 2:34am UTC](https://forums.unrealengine.com/t/make-a-list-of-player-characters-actors-with-the-following/1618242 "2024-01-16T02:34:34Z")

</div>

Hello. I want the list or I guess array to be allowed to be adjusted at anytime throughout the game, and emptied. The premise is there are teammates that you can call to aid you on a mission or quests, and there are pot…

---

## [Where is the Set crouched Half height?](https://forums.unrealengine.com/t/where-is-the-set-crouched-half-height/435783)

<div class="topic-metadata">

**Author:** [@npnFF1517](https://forums.unrealengine.com/u/npnFF1517)\
**Replies:** 12\
**Last updated:** [May 2, 2023, 9:59pm UTC](https://forums.unrealengine.com/t/where-is-the-set-crouched-half-height/435783 "2023-05-02T21:59:09Z")

</div>

I wanted to add a new custom crouched half height when the character is prone. I can’t change the values dynamically. I can’t use the Set Capsule half height since that mean there will not be ground collision and char wi…

---

## [Paragon characters in Trailer](https://forums.unrealengine.com/t/paragon-characters-in-trailer/489206)

<div class="topic-metadata">

**Author:** [@The\_NL](https://forums.unrealengine.com/u/The_NL)\
**Replies:** 1\
**Last updated:** [September 26, 2021, 1:52am UTC](https://forums.unrealengine.com/t/paragon-characters-in-trailer/489206 "2021-09-26T01:52:48Z")

</div>

Hi there since I found out that you can use Paragon characters for your shipped project, but you must name them differently from their original names, I wonder, can I add some of them in my Official Trailer ? I guess th…

---

## [need help with setting variables between blueprints](https://forums.unrealengine.com/t/need-help-with-setting-variables-between-blueprints/485121)

<div class="topic-metadata">

**Author:** [@N0T\_A\_SWEAT](https://forums.unrealengine.com/u/N0T_A_SWEAT)\
**Replies:** 4\
**Last updated:** [June 20, 2021, 8:03pm UTC](https://forums.unrealengine.com/t/need-help-with-setting-variables-between-blueprints/485121 "2021-06-20T20:03:29Z")

</div>

so im working on a save and load where i have a savegame object and gameinstance. i dont know what im doing wrong but i cant set the variable from the savegameobject. it stays at 0 even tho i set it to 100. …

---

## [Inventory UI With UMG](https://forums.unrealengine.com/t/inventory-ui-with-umg/483643)

<div class="topic-metadata">

**Author:** [@BabyYoda35098](https://forums.unrealengine.com/u/BabyYoda35098)\
**Replies:** 9\
**Last updated:** [May 21, 2021, 3:33pm UTC](https://forums.unrealengine.com/t/inventory-ui-with-umg/483643 "2021-05-21T15:33:23Z")

</div>

I am using the “Inventory UI with UMG” and I have a problem with my CanPickup actor, I made a variable called “Item Amount” that holds the amount of CanPickups I have, but the probelm is each CanPickup has a different “I…

---

## [Interaction based on player stats?](https://forums.unrealengine.com/t/interaction-based-on-player-stats/482477)

<div class="topic-metadata">

**Author:** [@super-squirrel](https://forums.unrealengine.com/u/super-squirrel)\
**Replies:** 12\
**Last updated:** [April 27, 2021, 4:33pm UTC](https://forums.unrealengine.com/t/interaction-based-on-player-stats/482477 "2021-04-27T16:33:41Z")

</div>

I’ve found lots of answers on general interaction and have the basic stuff working. However, I’m stuck trying to get stats dependant interactions to work. For example, I have a medical object in the game that the player…

---

## [Interact Message Appears over everything.](https://forums.unrealengine.com/t/interact-message-appears-over-everything/480302)

<div class="topic-metadata">

**Author:** [@Tettey\_Nartey](https://forums.unrealengine.com/u/Tettey_Nartey)\
**Replies:** 5\
**Last updated:** [March 16, 2021, 2:23pm UTC](https://forums.unrealengine.com/t/interact-message-appears-over-everything/480302 "2021-03-16T14:23:01Z")

</div>

So I have a text variable in every Actor necessary. the Text Variable is “Name” I have setup a widget with a Text variable that uses the Text Variable from the Actor and sets the name of that variable and applies it as t…

---

## [When I add a child component it only adds it to the root Component. How do I child it to a different parent than the root](https://forums.unrealengine.com/t/when-i-add-a-child-component-it-only-adds-it-to-the-root-component-how-do-i-child-it-to-a-different-parent-than-the-root/475522)

<div class="topic-metadata">

**Author:** [@FrozenDungeon](https://forums.unrealengine.com/u/FrozenDungeon)\
**Replies:** 3\
**Last updated:** [December 7, 2020, 6:00pm UTC](https://forums.unrealengine.com/t/when-i-add-a-child-component-it-only-adds-it-to-the-root-component-how-do-i-child-it-to-a-different-parent-than-the-root/475522 "2020-12-07T18:00:26Z")

</div>

When I add a child component it only adds it to the root Component. How do I child it to a different parent than the root.

---

## [Timeline using seconds as degrees for spring arm length](https://forums.unrealengine.com/t/timeline-using-seconds-as-degrees-for-spring-arm-length/472825)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b98c8060](https://forums.unrealengine.com/u/anonymous_user_b98c8060)\
**Replies:** 5\
**Last updated:** [October 13, 2020, 7:38am UTC](https://forums.unrealengine.com/t/timeline-using-seconds-as-degrees-for-spring-arm-length/472825 "2020-10-13T07:38:50Z")

</div>

In other words i want camera to move further when it is looking down, but not playing animation Judging by what you’re trying to achieve, the timeline is not the way to do it: This perhaps: If that’s not it, …

---

## [Set Variable on random player](https://forums.unrealengine.com/t/set-variable-on-random-player/470860)

<div class="topic-metadata">

**Author:** [@ArkaN](https://forums.unrealengine.com/u/ArkaN)\
**Replies:** 3\
**Last updated:** [September 5, 2020, 5:24pm UTC](https://forums.unrealengine.com/t/set-variable-on-random-player/470860 "2020-09-05T17:24:35Z")

</div>

How can i set variable on random player

---

## [How do i add blood inside each characters?](https://forums.unrealengine.com/t/how-do-i-add-blood-inside-each-characters/470162)

<div class="topic-metadata">

**Author:** [@ASHHAR\_JAWWAD](https://forums.unrealengine.com/u/ASHHAR_JAWWAD)\
**Replies:** 1\
**Last updated:** [August 22, 2020, 10:24pm UTC](https://forums.unrealengine.com/t/how-do-i-add-blood-inside-each-characters/470162 "2020-08-22T22:24:37Z")

</div>

Can we add blood inside characters in unreal engine 4 with blueprint scripting. If possible please tell me.

---

## [FTransform does not show up in the editor](https://forums.unrealengine.com/t/ftransform-does-not-show-up-in-the-editor/468379)

<div class="topic-metadata">

**Author:** [@PixTropics](https://forums.unrealengine.com/u/PixTropics)\
**Replies:** 1\
**Last updated:** [July 20, 2020, 6:47am UTC](https://forums.unrealengine.com/t/ftransform-does-not-show-up-in-the-editor/468379 "2020-07-20T06:47:26Z")

</div>

So I have a USTRUCT, and its variables I can get to show up as UPROPERTY except for FTransform I think it may be an issue of initialization, as I can get specific parts of the transform to show up like this: USTRUCT(Bl…

---

## [Why I'm getting variable not in scope error on every blueprint?](https://forums.unrealengine.com/t/why-im-getting-variable-not-in-scope-error-on-every-blueprint/460794)

<div class="topic-metadata">

**Author:** [@BeeQuietGamingYT](https://forums.unrealengine.com/u/BeeQuietGamingYT)\
**Replies:** 5\
**Last updated:** [February 1, 2020, 3:43pm UTC](https://forums.unrealengine.com/t/why-im-getting-variable-not-in-scope-error-on-every-blueprint/460794 "2020-02-01T15:43:51Z")

</div>

From last few days I’m getting variable not in scope error on my variables in every blueprints which causes the funtions not work. Can anyone please solve this problem?

---

## [cannot savegame](https://forums.unrealengine.com/t/cannot-savegame/457690)

<div class="topic-metadata">

**Author:** [@Flame](https://forums.unrealengine.com/u/Flame)\
**Replies:** 1\
**Last updated:** [October 29, 2019, 6:44pm UTC](https://forums.unrealengine.com/t/cannot-savegame/457690 "2019-10-29T18:44:52Z")

</div>

hi, i am trying to save my game using a (new bp blueprint i created since it doesnt look i can set variables in the default one) but no matter what i cannot get it to work. So heres what i did (in savegame BP i only had…

---

## [Create all missing variables at once](https://forums.unrealengine.com/t/create-all-missing-variables-at-once/456225)

<div class="topic-metadata">

**Author:** [@SebaSopp](https://forums.unrealengine.com/u/SebaSopp)\
**Replies:** 1\
**Last updated:** [September 30, 2019, 6:40pm UTC](https://forums.unrealengine.com/t/create-all-missing-variables-at-once/456225 "2019-09-30T18:40:22Z")

</div>

Is there a way to create them with one click… or one python script. I copied BP logic to a new BP Actor and there are 10 grey variables. At the moment i have to right click every variable to create it…

---

## [Want to make an item disappear on click when hovered over](https://forums.unrealengine.com/t/want-to-make-an-item-disappear-on-click-when-hovered-over/456222)

<div class="topic-metadata">

**Author:** [@xomaniac](https://forums.unrealengine.com/u/xomaniac)\
**Replies:** 3\
**Last updated:** [September 30, 2019, 11:58am UTC](https://forums.unrealengine.com/t/want-to-make-an-item-disappear-on-click-when-hovered-over/456222 "2019-09-30T11:58:47Z")

</div>

Hi, Im trying to make a simple game in Oculus quest where you pop bubbles by pressing the trigger. I have correctly set up the line trace and attached a beam system to it to make it visible, I am just unsure as how I ca…

---

## [How do I get the variables out of these actors?](https://forums.unrealengine.com/t/how-do-i-get-the-variables-out-of-these-actors/455488)

<div class="topic-metadata">

**Author:** [@EdBennett](https://forums.unrealengine.com/u/EdBennett)\
**Replies:** 5\
**Last updated:** [September 18, 2019, 4:56am UTC](https://forums.unrealengine.com/t/how-do-i-get-the-variables-out-of-these-actors/455488 "2019-09-18T04:56:30Z")

</div>

Hi I have this widget blueprint which search the level for all objects of the class WallMarker. I was hoping to read the variable from the actors and then do this based on the variables. however I cannot seem to access t…

---

## [Unable to detect Delay node on Event Tick](https://forums.unrealengine.com/t/unable-to-detect-delay-node-on-event-tick/454919)

<div class="topic-metadata">

**Author:** [@zghenzi](https://forums.unrealengine.com/u/zghenzi)\
**Replies:** 5\
**Last updated:** [September 11, 2019, 9:43am UTC](https://forums.unrealengine.com/t/unable-to-detect-delay-node-on-event-tick/454919 "2019-09-11T09:43:22Z")

</div>

I’m trying to make an AI bot to strafe randomly left and right when in certain range from the main player: If I remove the Select node and directly connect the GetActorRightVector to the Add Movement Input, it works …

---

## [Add randomized elements to StringArray in BP](https://forums.unrealengine.com/t/add-randomized-elements-to-stringarray-in-bp/453446)

<div class="topic-metadata">

**Author:** [@linkings](https://forums.unrealengine.com/u/linkings)\
**Replies:** 1\
**Last updated:** [August 6, 2019, 4:28pm UTC](https://forums.unrealengine.com/t/add-randomized-elements-to-stringarray-in-bp/453446 "2019-08-06T16:28:28Z")

</div>

Contrary to the boxes to define what’s in the String Array, is there a way to auto-generate single elements with a random string out of an alphabet so there can be infinite combinations (and not only those 52 written in …

---

## [Can I Add a Variable For a Vector in a Timeline?](https://forums.unrealengine.com/t/can-i-add-a-variable-for-a-vector-in-a-timeline/453180)

<div class="topic-metadata">

**Author:** [@RunklTookl](https://forums.unrealengine.com/u/RunklTookl)\
**Replies:** 1\
**Last updated:** [August 2, 2019, 12:02pm UTC](https://forums.unrealengine.com/t/can-i-add-a-variable-for-a-vector-in-a-timeline/453180 "2019-08-02T12:02:58Z")

</div>

I’m setting up an aiming system and I want to know if I can use a variable to control where my timeline’s ending point was. I also want to know if you can control how long a timeline lasts with a variable.

---

## [Variable from other blueprint](https://forums.unrealengine.com/t/variable-from-other-blueprint/453055)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c2fd3d21](https://forums.unrealengine.com/u/anonymous_user_c2fd3d21)\
**Replies:** 1\
**Last updated:** [July 30, 2019, 5:07am UTC](https://forums.unrealengine.com/t/variable-from-other-blueprint/453055 "2019-07-30T05:07:20Z")

</div>

I made a boolean variable in UI blueprint. and I’d like to use this variable in other actor blueprint. How can I do this?

---

## [Enemy Health Bar not showing in Sub Properties](https://forums.unrealengine.com/t/enemy-health-bar-not-showing-in-sub-properties/452723)

<div class="topic-metadata">

**Author:** [@NewRewind](https://forums.unrealengine.com/u/NewRewind)\
**Replies:** 9\
**Last updated:** [July 29, 2019, 5:10pm UTC](https://forums.unrealengine.com/t/enemy-health-bar-not-showing-in-sub-properties/452723 "2019-07-29T17:10:18Z")

</div>

So I am new to UE4 and I’ve gotten to the part where I want to implement a boss fight. I’m trying to add the health bar but for some reason (as I’m following this tutorial) I cannot find my variable in the Sub Properties…

---

## [Struct type in blueprint](https://forums.unrealengine.com/t/struct-type-in-blueprint/452769)

<div class="topic-metadata">

**Author:** [@turbanov](https://forums.unrealengine.com/u/turbanov)\
**Replies:** 7\
**Last updated:** [July 29, 2019, 2:16pm UTC](https://forums.unrealengine.com/t/struct-type-in-blueprint/452769 "2019-07-29T14:16:41Z")

</div>

Is it possible to create a variable of Struct type? Just as you do with classes.

---

## [Is there any way to get bool variables from an Animation Blueprint to a Character Blueprint?](https://forums.unrealengine.com/t/is-there-any-way-to-get-bool-variables-from-an-animation-blueprint-to-a-character-blueprint/452474)

<div class="topic-metadata">

**Author:** [@KEJRAK](https://forums.unrealengine.com/u/KEJRAK)\
**Replies:** 4\
**Last updated:** [July 19, 2019, 6:15am UTC](https://forums.unrealengine.com/t/is-there-any-way-to-get-bool-variables-from-an-animation-blueprint-to-a-character-blueprint/452474 "2019-07-19T06:15:16Z")

</div>

Good day, developers, I need to get my bool variables (“IsLadder, IsClimbing”) from an Animation Blueprint to my Character Blueprint. I tried “Cast to” but it didn’t work out. Will you help me to achieve that? Thank …

---

## [Linker error when adding variable to Character Class](https://forums.unrealengine.com/t/linker-error-when-adding-variable-to-character-class/449833)

<div class="topic-metadata">

**Author:** [@Mr.Pathetic](https://forums.unrealengine.com/u/Mr.Pathetic)\
**Replies:** 4\
**Last updated:** [June 1, 2019, 4:42am UTC](https://forums.unrealengine.com/t/linker-error-when-adding-variable-to-character-class/449833 "2019-06-01T04:42:49Z")

</div>

I’ve set up a basic character class and derived a blueprint from it. Everything works correctly until I try to create a new variable in the character class. Adding just a single float property in the CPP class creates a…

---

## [Set variable if none WASD keys are pressed](https://forums.unrealengine.com/t/set-variable-if-none-wasd-keys-are-pressed/449815)

<div class="topic-metadata">

**Author:** [@zghenzi](https://forums.unrealengine.com/u/zghenzi)\
**Replies:** 4\
**Last updated:** [May 30, 2019, 6:05pm UTC](https://forums.unrealengine.com/t/set-variable-if-none-wasd-keys-are-pressed/449815 "2019-05-30T18:05:31Z")

</div>

Hi, What the code below does is adding FallingLateralFriction when one of the WASD keys is released, but what I need is to add FallingLateralFriction when none of the WASD keys are pressed at the same time - so I need i…

[Next page](https://forums.unrealengine.com/tag/add-variable/10491.md?match_all_tags=true&page=1&tags%5B%5D=add-variable)
