# How do I create an interaction in game?

**URL:** <https://forums.unrealengine.com/t/how-do-i-create-an-interaction-in-game/423800>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [April 28, 2018, 1:35pm UTC](https://forums.unrealengine.com/t/how-do-i-create-an-interaction-in-game/423800 "2018-04-28T13:35:34Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![GS2\_EU](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GS2\_EU](https://forums.unrealengine.com/u/GS2_EU)\
**Post date:** [April 28, 2018, 1:35pm UTC](https://forums.unrealengine.com/t/how-do-i-create-an-interaction-in-game/423800/1 "2018-04-28T13:35:34Z")

</div>

I’m having trouble creating an interatable fire in UE4.  
Here is my blueprint code below:

As you see it is very simple but for some reason does not work  
I want to change the flipbook from unlit logs to lighting lights but it will not change in game.  
I’m also having a secondary issue where in the preview of the game the fire disappears after approx 3 seconds.  
Any help will be very much appreciated 🙂

 ![239131-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/1/6/01603a557c4c4d92e25738b116d0721b4ed53a83.png)

---

<div class="post-metadata">

**Author:** ![goncasmage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@goncasmage](https://forums.unrealengine.com/u/goncasmage)\
**Post date:** [April 28, 2018, 2:44pm UTC](https://forums.unrealengine.com/t/how-do-i-create-an-interaction-in-game/423800/2 "2018-04-28T14:44:46Z")

</div>

Do you know if the SetFlipbook function ever gets called?

---

<div class="post-metadata">

**Author:** ![GS2\_EU](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GS2\_EU](https://forums.unrealengine.com/u/GS2_EU)\
**Post date:** [April 28, 2018, 2:48pm UTC](https://forums.unrealengine.com/t/how-do-i-create-an-interaction-in-game/423800/3 "2018-04-28T14:48:23Z")

</div>

On the bottom right it is called?

---

<div class="post-metadata">

**Author:** ![goncasmage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@goncasmage](https://forums.unrealengine.com/u/goncasmage)\
**Post date:** [April 28, 2018, 3:00pm UTC](https://forums.unrealengine.com/t/how-do-i-create-an-interaction-in-game/423800/4 "2018-04-28T15:00:53Z")

</div>

Yes, try using the Print to Screen node, just before you call the SetFlipbook node, in order to check that the node is being called, that might just be one of the problems.

---

<div class="post-metadata">

**Author:** ![GS2\_EU](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GS2\_EU](https://forums.unrealengine.com/u/GS2_EU)\
**Post date:** [April 28, 2018, 3:05pm UTC](https://forums.unrealengine.com/t/how-do-i-create-an-interaction-in-game/423800/5 "2018-04-28T15:05:26Z")

</div>

I’ll try that, thanks

---

<div class="post-metadata">

**Author:** ![goncasmage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@goncasmage](https://forums.unrealengine.com/u/goncasmage)\
**Post date:** [April 28, 2018, 3:09pm UTC](https://forums.unrealengine.com/t/how-do-i-create-an-interaction-in-game/423800/6 "2018-04-28T15:09:25Z")

</div>

Ok, keep me updated 😉

---

<div class="post-metadata">

**Author:** ![GS2\_EU](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GS2\_EU](https://forums.unrealengine.com/u/GS2_EU)\
**Post date:** [April 28, 2018, 5:09pm UTC](https://forums.unrealengine.com/t/how-do-i-create-an-interaction-in-game/423800/7 "2018-04-28T17:09:51Z")

</div>

You’re right, the SetFlipbook node isn’t getting called…

---

<div class="post-metadata">

**Author:** ![goncasmage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@goncasmage](https://forums.unrealengine.com/u/goncasmage)\
**Post date:** [April 28, 2018, 5:11pm UTC](https://forums.unrealengine.com/t/how-do-i-create-an-interaction-in-game/423800/8 "2018-04-28T17:11:36Z")

</div>

Then it’s probably a logic issue, check if the overlaps are being fired (using the same technique) 🙂

---

<div class="post-metadata">

**Author:** ![GS2\_EU](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GS2\_EU](https://forums.unrealengine.com/u/GS2_EU)\
**Post date:** [April 28, 2018, 7:41pm UTC](https://forums.unrealengine.com/t/how-do-i-create-an-interaction-in-game/423800/9 "2018-04-28T19:41:11Z")

</div>

Overlaps are working… even when the fire disappears (issue) the overlaps are still occuring

---

<div class="post-metadata">

**Author:** ![goncasmage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@goncasmage](https://forums.unrealengine.com/u/goncasmage)\
**Post date:** [April 28, 2018, 7:44pm UTC](https://forums.unrealengine.com/t/how-do-i-create-an-interaction-in-game/423800/10 "2018-04-28T19:44:04Z")

</div>

Ok, then put a print string just after the Interact event, and see if that fires.

Also, are you actually pressing Interact while inside the collision box?
