# Remove "Target\[Self\]" section from boolean node?

**URL:** <https://forums.unrealengine.com/t/remove-target-self-section-from-boolean-node/444552>\
**Category:** Blueprint\
**Tags:** error-compile, unreal-engine, Scripting, Blueprint, question, CPP\
**Created:** [March 4, 2019, 12:32am UTC](https://forums.unrealengine.com/t/remove-target-self-section-from-boolean-node/444552 "2019-03-04T00:32:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_c6eddab01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c6eddab01](https://forums.unrealengine.com/u/anonymous_user_c6eddab01)\
**Post date:** [March 4, 2019, 12:32am UTC](https://forums.unrealengine.com/t/remove-target-self-section-from-boolean-node/444552/1 "2019-03-04T00:32:46Z")

</div>

Please note that I am very new to UE4 and I don’t know many things, so please explain everything to the fullest.

I am working through a Udemy course, and we’re making a blueprint that displays a text string whenever it is destroyed. When I insert the “bIsCarryObjective” node into the blueprint, a node shows up with a blue “Target[Self]” part on the left, and an “IsCarryingObjective” part on the right. In the video on Udemy, it only shows the node with the “IsCarryingObjective” part on it. How do I remove the blue part to avoid any errors, or what do I add to void any errors when compiling the blueprint?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [March 4, 2019, 8:25am UTC](https://forums.unrealengine.com/t/remove-target-self-section-from-boolean-node/444552/2 "2019-03-04T08:25:57Z")

</div>

This is automatic and depends on the owner of the variable. If you declare a bool in this blueprint and _get_ it, you will not have a target pin on it. If the bool comes from another blueprint (object) it has to _target_ that object as its owner - in which case you’d need to obtain a reference to the object the bool belongs to.

---

<div class="post-metadata">

**Author:** ![DaveTheFreak](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DaveTheFreak](https://forums.unrealengine.com/u/DaveTheFreak)\
**Post date:** [August 25, 2022, 12:15pm UTC](https://forums.unrealengine.com/t/remove-target-self-section-from-boolean-node/444552/3 "2022-08-25T12:15:46Z")

</div>

Hey, just had a similar issue and I had no references. Tried to do a LineTrace from my own BlueprintLibrary and there was always a Target Input-Node. Drove me crazy…

UNTIL I found a solution: if you truly aren’t referencing anything from the class, library etc., make the function STATIC. (like “static bool NAME”). This fixed it for me!

---

<div class="post-metadata">

**Author:** ![Rumzie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rumzie](https://forums.unrealengine.com/u/Rumzie)\
**Post date:** [August 25, 2022, 2:00pm UTC](https://forums.unrealengine.com/t/remove-target-self-section-from-boolean-node/444552/4 "2022-08-25T14:00:49Z")

</div>

Yes, from blueprint library it must be static. If you make the function locally, lets say on a actor blueprint, then you need to make the function non-const (if it’s a pure function).
