# Not all code inside function running for some reason

**URL:** <https://forums.unrealengine.com/t/not-all-code-inside-function-running-for-some-reason/1254023>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [August 8, 2023, 12:01am UTC](https://forums.unrealengine.com/t/not-all-code-inside-function-running-for-some-reason/1254023 "2023-08-08T00:01:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nelmi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nelmi/32/746978_2.png) [@nelmi](https://forums.unrealengine.com/u/nelmi)\
**Post date:** [August 8, 2023, 12:01am UTC](https://forums.unrealengine.com/t/not-all-code-inside-function-running-for-some-reason/1254023/1 "2023-08-08T00:01:32Z")

</div>

As said in title, the code doesn’t run except for Print(“Phone is ringing”) for some reason and I don’t know why.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/a/c/1ac4c9377b3de7e18e032f376c06cd6a1f966b7a.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/c/1/fc1e6cf06098833334757a8ca5ae0d5191061f4c.png)

---

<div class="post-metadata">

**Author:** ![Mapshot\_Agency](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mapshot_agency/32/700660_2.png) [@Mapshot\_Agency](https://forums.unrealengine.com/u/Mapshot_Agency)\
**Post date:** [August 14, 2023, 7:37am UTC](https://forums.unrealengine.com/t/not-all-code-inside-function-running-for-some-reason/1254023/2 "2023-08-14T07:37:34Z")

</div>

If the log is printing, that means all the code on top is also executing. So my guess would be that your buttons and timers aren’t properly linked in the editor?

What is supposed to happen and what is the actual result?
