# \#bool

**URL:** https://forums.unrealengine.com/tag/bool/773.md

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

---

## [Is there a way to make a material's "Two Sided" checkbox a parameter?](https://forums.unrealengine.com/t/is-there-a-way-to-make-a-materials-two-sided-checkbox-a-parameter/394721)

<div class="topic-metadata">

**Author:** [@Flowerhat57](https://forums.unrealengine.com/u/Flowerhat57)\
**Replies:** 9\
**Last updated:** [April 22, 2025, 11:47am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-make-a-materials-two-sided-checkbox-a-parameter/394721 "2025-04-22T11:47:49Z")

</div>

Hey all! Is there a way to expose the “two sided” checkbox of a material so it can be used by a blueprint and applied to a different material? Obviously what I have here isn’t going to work, but it’s along the lines of…

---

## [Pass a variable between two actors](https://forums.unrealengine.com/t/pass-a-variable-between-two-actors/491226)

<div class="topic-metadata">

**Author:** [@aliAghel](https://forums.unrealengine.com/u/aliAghel)\
**Replies:** 5\
**Last updated:** [November 23, 2021, 7:50pm UTC](https://forums.unrealengine.com/t/pass-a-variable-between-two-actors/491226 "2021-11-23T19:50:39Z")

</div>

Hi I’m a bigginer and I have question . I have an actor , it’s some kind of bomb and it’s has a virtual function named OnComponentBeginOverlap that I bind it with a delegate to the root of actor wich is a sphere Some …

---

## [Why is my Event making my boolean true?](https://forums.unrealengine.com/t/why-is-my-event-making-my-boolean-true/468119)

<div class="topic-metadata">

**Author:** [@100\_Thieves\_Cold](https://forums.unrealengine.com/u/100_Thieves_Cold)\
**Replies:** 9\
**Last updated:** [July 13, 2020, 8:04pm UTC](https://forums.unrealengine.com/t/why-is-my-event-making-my-boolean-true/468119 "2020-07-13T20:04:54Z")

</div>

So my blueprint (FirstPersonCharacter) is working through a bool that tells the game if it has a Gun (true) or a Drone (false), it sets/should be bool to false when i press Z to equip my drone but as soon as i press Mous…

---

## [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 …

---

## [How to I determine which variable to use based on a boolean?](https://forums.unrealengine.com/t/how-to-i-determine-which-variable-to-use-based-on-a-boolean/450946)

<div class="topic-metadata">

**Author:** [@ItsGabeGames](https://forums.unrealengine.com/u/ItsGabeGames)\
**Replies:** 2\
**Last updated:** [June 19, 2019, 8:36pm UTC](https://forums.unrealengine.com/t/how-to-i-determine-which-variable-to-use-based-on-a-boolean/450946 "2019-06-19T20:36:34Z")

</div>

I’m wondering if there’s a node that can take two bool values, and use them depending on another bool value as illustrated below:

---

## [\[Bug report\] Setting value of bool variable in level sequence](https://forums.unrealengine.com/t/bug-report-setting-value-of-bool-variable-in-level-sequence/446994)

<div class="topic-metadata">

**Author:** [@X\_Starter\_X](https://forums.unrealengine.com/u/X_Starter_X)\
**Replies:** 0\
**Last updated:** [April 10, 2019, 5:13pm UTC](https://forums.unrealengine.com/t/bug-report-setting-value-of-bool-variable-in-level-sequence/446994 "2019-04-10T17:13:50Z")

</div>

I found bug in level sequence. Steps to Reproduce Create actor Add bool variable, name Enable, Instance Editable and Blueprint Read Only Create function, name SetEnable, with bool argument NewState Add this act…

---

## [\[Resolved\] Compare two int (=0) returns false?](https://forums.unrealengine.com/t/resolved-compare-two-int-0-returns-false/413222)

<div class="topic-metadata">

**Author:** [@wzspdw](https://forums.unrealengine.com/u/wzspdw)\
**Replies:** 5\
**Last updated:** [December 28, 2017, 12:54am UTC](https://forums.unrealengine.com/t/resolved-compare-two-int-0-returns-false/413222 "2017-12-28T00:54:48Z")

</div>

Hey guys, i’m really confused that when i tried two compare two int which all equals zero, i got a false as result. i’ve tried to change the values but always get the same result, so is there a bug on this?

---

## [How to access Boolean](https://forums.unrealengine.com/t/how-to-access-boolean/404439)

<div class="topic-metadata">

**Author:** [@0xcryptid](https://forums.unrealengine.com/u/0xcryptid)\
**Replies:** 1\
**Last updated:** [September 13, 2017, 1:40am UTC](https://forums.unrealengine.com/t/how-to-access-boolean/404439 "2017-09-13T01:40:58Z")

</div>

I want to access a Boolean from another blueprint and change its type to true but I do not know how to do it so any help would be greatly appreciated.

---

## [Adding pins to an "And" node](https://forums.unrealengine.com/t/adding-pins-to-an-and-node/403679)

<div class="topic-metadata">

**Author:** [@SkimpKillah](https://forums.unrealengine.com/u/SkimpKillah)\
**Replies:** 1\
**Last updated:** [September 4, 2017, 8:12am UTC](https://forums.unrealengine.com/t/adding-pins-to-an-and-node/403679 "2017-09-04T08:12:22Z")

</div>

If I add one or more additional inputs to an “And” node, will it then only return True when all inputs are true?

---

## [Set Branch to true when x out of y conditions are met](https://forums.unrealengine.com/t/set-branch-to-true-when-x-out-of-y-conditions-are-met/395732)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_8842144f](https://forums.unrealengine.com/u/anonymous_user_8842144f)\
**Replies:** 4\
**Last updated:** [June 6, 2017, 12:13pm UTC](https://forums.unrealengine.com/t/set-branch-to-true-when-x-out-of-y-conditions-are-met/395732 "2017-06-06T12:13:01Z")

</div>

If you get your boolean and drag out a pin from it, you’ll be able to convert it to an integer by typing ToInt. Convert all your booleans to integers, and then add them together. You can then check if this number is abov…

---

## [How to make target variable bool node](https://forums.unrealengine.com/t/how-to-make-target-variable-bool-node/351766)

<div class="topic-metadata">

**Author:** [@TenashiousG](https://forums.unrealengine.com/u/TenashiousG)\
**Replies:** 5\
**Last updated:** [April 26, 2017, 5:36am UTC](https://forums.unrealengine.com/t/how-to-make-target-variable-bool-node/351766 "2017-04-26T05:36:24Z")

</div>

---

## [My bool isn't talking to another blueprint](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d9e970c9](https://forums.unrealengine.com/u/anonymous_user_d9e970c9)\
**Replies:** 16\
**Last updated:** [October 3, 2016, 10:18pm UTC](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409 "2016-10-03T22:18:47Z")

</div>

Oh whoops. I probably am calling to an empty variable. How do I fill it?

---

## [(動画チュートリアル関連) bool 型とは？](https://forums.unrealengine.com/t/bool/365559)

<div class="topic-metadata">

**Author:** [@ymars](https://forums.unrealengine.com/u/ymars)\
**Replies:** 1\
**Last updated:** [July 29, 2016, 3:53pm UTC](https://forums.unrealengine.com/t/bool/365559 "2016-07-29T15:53:47Z")

</div>

UE4 には、bool、integer、rotate など多数の変数の型がありますが、そのうち bool 型とはどのようなものなのでしょうか？また、どのように使われるのでしょうか？ :arrow\_forward:関連する動画チュートリアル Blueprint Essentials-2-Variable Types

---

## [Bool value wont change on event](https://forums.unrealengine.com/t/bool-value-wont-change-on-event/360248)

<div class="topic-metadata">

**Author:** [@Oli\_Charron](https://forums.unrealengine.com/u/Oli_Charron)\
**Replies:** 3\
**Last updated:** [June 10, 2016, 5:23pm UTC](https://forums.unrealengine.com/t/bool-value-wont-change-on-event/360248 "2016-06-10T17:23:40Z")

</div>

, I would put in a print statement to make sure the cast is not failing, as you have nothing pinned to that. Also put in a print statement right after the “Spot Player” node, to ensure that it is firing. This should giv…

---

## [Can I make two Bool variables get into add](https://forums.unrealengine.com/t/can-i-make-two-bool-variables-get-into-add/357026)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f1de5201](https://forums.unrealengine.com/u/anonymous_user_f1de5201)\
**Replies:** 1\
**Last updated:** [May 10, 2016, 7:35pm UTC](https://forums.unrealengine.com/t/can-i-make-two-bool-variables-get-into-add/357026 "2016-05-10T19:35:21Z")

</div>

you probably don’t really want an “add” node, your more than likely looking for a “and” node. Which means, If bool1 and bool2 are true, then the result is true if either bool1 or bool2 is not true, then the result is f…

---

## [Bool not changing when i press a button](https://forums.unrealengine.com/t/bool-not-changing-when-i-press-a-button/356382)

<div class="topic-metadata">

**Author:** [@Creepercatss](https://forums.unrealengine.com/u/Creepercatss)\
**Replies:** 7\
**Last updated:** [May 5, 2016, 12:18am UTC](https://forums.unrealengine.com/t/bool-not-changing-when-i-press-a-button/356382 "2016-05-05T00:18:31Z")

</div>

Like i said in the title when i press F in game it turns the light on and off but only plays one of the animations so i’m taking a guess that the bool is not changing, Thanks for any help in advance :smiley:

---

## [Accessing a bool from another blueprint class](https://forums.unrealengine.com/t/accessing-a-bool-from-another-blueprint-class/351191)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_04e86c7c](https://forums.unrealengine.com/u/anonymous_user_04e86c7c)\
**Replies:** 6\
**Last updated:** [March 27, 2016, 5:16am UTC](https://forums.unrealengine.com/t/accessing-a-bool-from-another-blueprint-class/351191 "2016-03-27T05:16:48Z")

</div>

I’m trying to spawn a character that the player chooses in a different level from a game mode menu. I am able to spawn one character, but no matter what character is chosen it spawns in the same spot. I decided to try to…

---

## [How can i get an AI to stop following me when I press F?](https://forums.unrealengine.com/t/how-can-i-get-an-ai-to-stop-following-me-when-i-press-f/283761)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_9445e972](https://forums.unrealengine.com/u/anonymous_user_9445e972)\
**Replies:** 4\
**Last updated:** [January 25, 2016, 11:09pm UTC](https://forums.unrealengine.com/t/how-can-i-get-an-ai-to-stop-following-me-when-i-press-f/283761 "2016-01-25T23:09:16Z")

</div>

Hey guys i’m new to blueprints but i have createt an AI who follows me around when the game begins i want to stop him when i press F i know my blueprint has some fails but i hope there is a basic to build thanks …

---

## [UPROPERTY(EditAnywhere) bool MyBool Binding Problem](https://forums.unrealengine.com/t/uproperty-editanywhere-bool-mybool-binding-problem/338569)

<div class="topic-metadata">

**Author:** [@Jerry.Richards](https://forums.unrealengine.com/u/Jerry.Richards)\
**Replies:** 1\
**Last updated:** [November 16, 2015, 5:18pm UTC](https://forums.unrealengine.com/t/uproperty-editanywhere-bool-mybool-binding-problem/338569 "2015-11-16T17:18:03Z")

</div>

I cannot bind a boolean in my BP widget. .h UPROPERTY(EditAnywhere, BlueprintReadWrite) bool MyBool; When I bind to this variable in the BP Editor, I cannot change its value. It’s always set to true. What am I …

---

## [Bool between level and character blueprints](https://forums.unrealengine.com/t/bool-between-level-and-character-blueprints/336529)

<div class="topic-metadata">

**Author:** [@Martin\_Erlandsson](https://forums.unrealengine.com/u/Martin_Erlandsson)\
**Replies:** 5\
**Last updated:** [October 26, 2015, 1:41pm UTC](https://forums.unrealengine.com/t/bool-between-level-and-character-blueprints/336529 "2015-10-26T13:41:08Z")

</div>

So I’m lookning for a way to send a simple bool between my first person character blueprint and my level blueprint. I wanna set it in first person character and get it in level. So far I’ve made my bool global (with th…

---

## [Get a button press to check a bool value every frame?](https://forums.unrealengine.com/t/get-a-button-press-to-check-a-bool-value-every-frame/335452)

<div class="topic-metadata">

**Author:** [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Replies:** 5\
**Last updated:** [October 16, 2015, 5:09am UTC](https://forums.unrealengine.com/t/get-a-button-press-to-check-a-bool-value-every-frame/335452 "2015-10-16T05:09:13Z")

</div>

Ok I’ve tried looking online and through these boards for an answer but I can’t find specifically what I’m looking for. Here’s my blueprint setup inside the player pawn… really simple: Everything is technically work…

---

## [Bool Types in ShooterGame | uint32 vs bool](https://forums.unrealengine.com/t/bool-types-in-shootergame-uint32-vs-bool/311285)

<div class="topic-metadata">

**Author:** [@eXi](https://forums.unrealengine.com/u/eXi)\
**Replies:** 5\
**Last updated:** [September 8, 2015, 2:39pm UTC](https://forums.unrealengine.com/t/bool-types-in-shootergame-uint32-vs-bool/311285 "2015-09-08T14:39:21Z")

</div>

Hey there, can someone tell me why the ShooterGame uses “unit32” types for a bool? In the ShooterWeapon Class, there are bools with the normal bool type and with uint32. Why would you use uint32 for a variable that sh…

---

## [Use Syntax to drive Boolean in Level BluePrint](https://forums.unrealengine.com/t/use-syntax-to-drive-boolean-in-level-blueprint/312630)

<div class="topic-metadata">

**Author:** [@RatherBkBoardin\_1](https://forums.unrealengine.com/u/RatherBkBoardin_1)\
**Replies:** 5\
**Last updated:** [March 30, 2015, 5:00am UTC](https://forums.unrealengine.com/t/use-syntax-to-drive-boolean-in-level-blueprint/312630 "2015-03-30T05:00:30Z")

</div>

I am following up from a previous post that did not get a response. Internal Utility Function To Report Back Boolean in Blueprints - Blueprint - Epic Developer Community Forums I figured I would explain it differently u…

---

## [Internal Utility Function To Report Back Boolean in Blueprints](https://forums.unrealengine.com/t/internal-utility-function-to-report-back-boolean-in-blueprints/312182)

<div class="topic-metadata">

**Author:** [@RatherBkBoardin\_1](https://forums.unrealengine.com/u/RatherBkBoardin_1)\
**Replies:** 0\
**Last updated:** [March 22, 2015, 10:04pm UTC](https://forums.unrealengine.com/t/internal-utility-function-to-report-back-boolean-in-blueprints/312182 "2015-03-22T22:04:41Z")

</div>

I am trying to use an internal utility function (FPaths::FileExists) to check whether a file is present in a directory.Then report a boolean back to my Level Blueprint. I believe I need to run the syntax below, but I am…

---

## [How to switch the beahviour tree branch upon Bool change in Blueprints](https://forums.unrealengine.com/t/how-to-switch-the-beahviour-tree-branch-upon-bool-change-in-blueprints/308094)

<div class="topic-metadata">

**Author:** [@Weddy\_1](https://forums.unrealengine.com/u/Weddy_1)\
**Replies:** 2\
**Last updated:** [March 2, 2015, 11:22am UTC](https://forums.unrealengine.com/t/how-to-switch-the-beahviour-tree-branch-upon-bool-change-in-blueprints/308094 "2015-03-02T11:22:21Z")

</div>

Here Is my blueprint that changes the speed of my AI when They see the player. But the problem is the decorator on the top selector allways says that the Bool is not set, even though i can watch the bool change from …

---

## [Boolean before destroy actor and remove index](https://forums.unrealengine.com/t/boolean-before-destroy-actor-and-remove-index/306497)

<div class="topic-metadata">

**Author:** [@mdmoberly](https://forums.unrealengine.com/u/mdmoberly)\
**Replies:** 1\
**Last updated:** [February 11, 2015, 8:55pm UTC](https://forums.unrealengine.com/t/boolean-before-destroy-actor-and-remove-index/306497 "2015-02-11T20:55:10Z")

</div>

Good evening! (This example is based off the \[UMG Inventory tutorial\]\[1\] on YouTube) I am attempting to preform a boolean check before removing “Inventory Slot” from array index. I tried creating a bool “ItemUsed” to be…

---

## [controlling a StaticSwitch with a Float/Scalar/Constant 1 in a Material](https://forums.unrealengine.com/t/controlling-a-staticswitch-with-a-float-scalar-constant-1-in-a-material/299743)

<div class="topic-metadata">

**Author:** [@DarknesZ](https://forums.unrealengine.com/u/DarknesZ)\
**Replies:** 1\
**Last updated:** [November 25, 2014, 5:03pm UTC](https://forums.unrealengine.com/t/controlling-a-staticswitch-with-a-float-scalar-constant-1-in-a-material/299743 "2014-11-25T17:03:40Z")

</div>

Hey Guys, i want to control a StaticSwitch with a Float… currently iam trying to do this with a IF Node. but i get an errors Error \[SM5\] (Node If) Attempting to perform arithmetic on non-numeric types: static bool …

---

## [controlling a StaticSwitch with a Float/Scalar/Constant 1 in a Material](https://forums.unrealengine.com/t/controlling-a-staticswitch-with-a-float-scalar-constant-1-in-a-material/299742)

<div class="topic-metadata">

**Author:** [@DarknesZ](https://forums.unrealengine.com/u/DarknesZ)\
**Replies:** 1\
**Last updated:** [November 24, 2014, 3:42pm UTC](https://forums.unrealengine.com/t/controlling-a-staticswitch-with-a-float-scalar-constant-1-in-a-material/299742 "2014-11-24T15:42:12Z")

</div>

Hey Guys, i want to control a StaticSwitch with a Float… currently iam trying to do this with a IF Node. but i get an errors Error \[SM5\] (Node If) Attempting to perform arithmetic on non-numeric types: static bool …

---

## [How do I set up an Inverted camera in blueprints](https://forums.unrealengine.com/t/how-do-i-set-up-an-inverted-camera-in-blueprints/297705)

<div class="topic-metadata">

**Author:** [@fluzzywuzzy\_1](https://forums.unrealengine.com/u/fluzzywuzzy_1)\
**Replies:** 5\
**Last updated:** [October 30, 2014, 7:59pm UTC](https://forums.unrealengine.com/t/how-do-i-set-up-an-inverted-camera-in-blueprints/297705 "2014-10-30T19:59:36Z")

</div>

I am currently trying to see if i could invert the LookUp function “on the fly”, but for some reason, my float always sets itself to -1, even when the blueprint clearly shows otherwise. I don’t really know how to explain…

---

## [Uninitialized bool serialized and used](https://forums.unrealengine.com/t/uninitialized-bool-serialized-and-used/295639)

<div class="topic-metadata">

**Author:** [@rejecht\_1](https://forums.unrealengine.com/u/rejecht_1)\
**Replies:** 3\
**Last updated:** [October 13, 2014, 8:00pm UTC](https://forums.unrealengine.com/t/uninitialized-bool-serialized-and-used/295639 "2014-10-13T20:00:23Z")

</div>

Source File: /Engine/Source/Runtime/NetworkFileSystem/Private/NetworkFileServerConnection.cpp Description: bReadOnly has automatic storage duration but is not initialized, then gets serialized and used in a call to Se…

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