# How to make invisible the character for 5 seconds

**URL:** <https://forums.unrealengine.com/t/how-to-make-invisible-the-character-for-5-seconds/1531245>\
**Category:** Programming & Scripting\
**Tags:** invisible, unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [December 16, 2023, 9:54pm UTC](https://forums.unrealengine.com/t/how-to-make-invisible-the-character-for-5-seconds/1531245 "2023-12-16T21:54:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leevay2.4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Leevay2.4](https://forums.unrealengine.com/u/Leevay2.4)\
**Post date:** [December 16, 2023, 9:54pm UTC](https://forums.unrealengine.com/t/how-to-make-invisible-the-character-for-5-seconds/1531245/1 "2023-12-16T21:54:12Z")

</div>

Hello i am a beginner at verse and i made this code

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/c/3/8c3d8f3063264e916c4ee7a5cde86bb76c5529b3.png)  
But it look like its not working but i don’t know why, anyone know how to write a good version of it ?

---

<div class="post-metadata">

**Author:** ![ManualPotato](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/manualpotato/32/1144902_2.png) [@ManualPotato](https://forums.unrealengine.com/u/ManualPotato)\
**Post date:** [December 18, 2023, 8:48am UTC](https://forums.unrealengine.com/t/how-to-make-invisible-the-character-for-5-seconds/1531245/2 "2023-12-18T08:48:10Z")

</div>

You can’t use the `<suspends>` function as the callback for the event. You need to write your function that needs `suspends` async calls (e.g. `Sleep`) to a different function and then from your event listener call it using `spawn. RunMyAsyncFunction()`.

---

<div class="post-metadata">

**Author:** ![Leevay2.4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Leevay2.4](https://forums.unrealengine.com/u/Leevay2.4)\
**Post date:** [December 18, 2023, 2:13pm UTC](https://forums.unrealengine.com/t/how-to-make-invisible-the-character-for-5-seconds/1531245/3 "2023-12-18T14:13:51Z")

</div>

> [@ManualPotato](#):
>
> spawn. RunMyAsyncFunction()

Okay i see thankd you i will try to do it (but im so noob that i will get another error)
