# \[4.27\] Niagara scratch pad module "If" node

**URL:** <https://forums.unrealengine.com/t/4-27-niagara-scratch-pad-module-if-node/489572>\
**Category:** FX\
**Tags:** modules, unreal-engine, question\
**Created:** [October 5, 2021, 11:47pm UTC](https://forums.unrealengine.com/t/4-27-niagara-scratch-pad-module-if-node/489572 "2021-10-05T23:47:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![LordStuff](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LordStuff](https://forums.unrealengine.com/u/LordStuff)\
**Post date:** [October 5, 2021, 11:47pm UTC](https://forums.unrealengine.com/t/4-27-niagara-scratch-pad-module-if-node/489572/1 "2021-10-05T23:47:36Z")

</div>

Hi there!

Found this “If” node in the Content Examples, Niagara\_Advanced, inside a scratch pad of the “SkeletalMeshReproductionSystem\_Demo\_GPU” System.

When right clicking, I can’t seem to find this node anywhere. How can I add it to a module?

![349912-niagaranode.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/0/0/700a4782e6cd99e831927a966c0be6f207e8a65b.png)

Thanks and cheers!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_929eef551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_929eef551](https://forums.unrealengine.com/u/anonymous_user_929eef551)\
**Post date:** [October 6, 2021, 12:26pm UTC](https://forums.unrealengine.com/t/4-27-niagara-scratch-pad-module-if-node/489572/2 "2021-10-06T12:26:29Z")

</div>

I think at some point they replaced the “If” node with the “select” node, but the functionality should be the same. If you select bool as the condition and then select your different output types it will be similar to the picture.

---

<div class="post-metadata">

**Author:** ![LordStuff](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LordStuff](https://forums.unrealengine.com/u/LordStuff)\
**Post date:** [October 6, 2021, 2:57pm UTC](https://forums.unrealengine.com/t/4-27-niagara-scratch-pad-module-if-node/489572/3 "2021-10-06T14:57:51Z")

</div>

I was thinking the same as the Select is also suggested when you search for If.  
From a user perspective it seems to do the same, except for the wildcard inputs (that crashed UE5 for me once), but I wasn’t sure wether it was any different in code-behind / performance perspective. Maybe you are right, I was just curious wether there was any difference between the two, but maybe they want to replace it and it’ll become obsolete soon.

---

<div class="post-metadata">

**Author:** ![yeczrtu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yeczrtu](https://forums.unrealengine.com/u/yeczrtu)\
**Post date:** [October 12, 2021, 1:01am UTC](https://forums.unrealengine.com/t/4-27-niagara-scratch-pad-module-if-node/489572/4 "2021-10-12T01:01:07Z")

</div>

Did you know that If nodes have been deprecated since UE4.27?

Please see the [release notes](https://docs.unrealengine.com/4.27/en-US/WhatsNew/Builds/ReleaseNotes/4_27/) for more information.

Now, as for your question, I believe this node was ported from UE4.26 (I left the If node in my project that I migrated from UE4.26 to UE4.27), so it is not supposed to be added in UE4.27.

You can use the Select node instead.

---

<div class="post-metadata">

**Author:** ![lbtz19991](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lbtz19991](https://forums.unrealengine.com/u/lbtz19991)\
**Post date:** [February 6, 2023, 8:42am UTC](https://forums.unrealengine.com/t/4-27-niagara-scratch-pad-module-if-node/489572/5 "2023-02-06T08:42:23Z")

</div>

I suggest : [UE5 Niagara #ScratchPad Module #1 | velocity Condition - YouTube](https://www.youtube.com/watch?v=LQg_kz9yUYg)
