# \[SOLVED\] BP 'FInterp To' Node - Value Reset when switching branch

**URL:** <https://forums.unrealengine.com/t/solved-bp-finterp-to-node-value-reset-when-switching-branch/293681>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [September 14, 2014, 2:41pm UTC](https://forums.unrealengine.com/t/solved-bp-finterp-to-node-value-reset-when-switching-branch/293681 "2014-09-14T14:41:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miroac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Miroac](https://forums.unrealengine.com/u/Miroac)\
**Post date:** [September 14, 2014, 2:41pm UTC](https://forums.unrealengine.com/t/solved-bp-finterp-to-node-value-reset-when-switching-branch/293681/1 "2014-09-14T14:41:45Z")

</div>

I believe I’ve encountered a bug using the **FInterp To** node so I created a simple BP which you can find in the image below to demonstrate the issue.

Basically, when the branch is set to **True** it is using the **FInterp To** node to set the **Float** value. But as soon as I change the branch to **False** the **Float** value is reset to zero.

Just to be clear the **Float** value should not have reset to zero as if I wanted it to do so I would have manually set it.

If you recreate the basic BP in the picture example you should be able to replicate the result.

---

<div class="post-metadata">

**Author:** ![TJ\_V](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tj_v/32/1008648_2.png) [@TJ\_V](https://forums.unrealengine.com/u/TJ_V)\
**Post date:** [September 16, 2014, 3:01pm UTC](https://forums.unrealengine.com/t/solved-bp-finterp-to-node-value-reset-when-switching-branch/293681/2 "2014-09-16T15:01:46Z")

</div>

Hi Miroac,

How are you setting the Bool?

If you create a toggle that changes the bool during run-time then it works as intended. It will run while True and when set to false it will hold whatever value it was on.

 ![15581-ah_finterp.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/3/d/63db888c5586fadf78bce2bcfc2f04854ddbc5f2.jpeg)

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [September 16, 2014, 3:01pm UTC](https://forums.unrealengine.com/t/solved-bp-finterp-to-node-value-reset-when-switching-branch/293681/3 "2014-09-16T15:01:47Z")

</div>

I think I encountered a similar issue with VInterpTo in BP as well, it was quite puzzling to me as I had never experienced the issue before, when using it in C++

Just adding more info for Epic here 🙂

---

<div class="post-metadata">

**Author:** ![Miroac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Miroac](https://forums.unrealengine.com/u/Miroac)\
**Post date:** [September 17, 2014, 1:33pm UTC](https://forums.unrealengine.com/t/solved-bp-finterp-to-node-value-reset-when-switching-branch/293681/4 "2014-09-17T13:33:51Z")

</div>

Yeah TJ Ballard hit it on the head there.

The issue is that I was testing by just selecting the blueprint in the Scene Outliner and toggling the the bool in the details to test it.

By actually having the script change the bool via key input or even a timer it would retain the value after it went to false.
