# Toggle visibility delay node issue

**URL:** <https://forums.unrealengine.com/t/toggle-visibility-delay-node-issue/435850>\
**Category:** Rendering\
**Tags:** toggle, delay, visibility, unreal-engine, question, Blueprint, box-overlap\
**Created:** [October 17, 2018, 8:02pm UTC](https://forums.unrealengine.com/t/toggle-visibility-delay-node-issue/435850 "2018-10-17T20:02:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HeyTaylorA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HeyTaylorA](https://forums.unrealengine.com/u/HeyTaylorA)\
**Post date:** [October 17, 2018, 8:02pm UTC](https://forums.unrealengine.com/t/toggle-visibility-delay-node-issue/435850/1 "2018-10-17T20:02:59Z")

</div>

I followed the Tutorial you guys posted on YouTube which goes through toggling a point light using collision box’s. When using the delay node, the light can be tricked to not toggle, is this a bug? The light starts off not visible, When my character enters the hit box there is a two second delay when the light turns on with the begin event, when he exit’s there is a two second delay and it turns off with the end event . But if I make him run in and out of the Hitbox several times after he exit and the light is supposed to turn off it will remain on or vice a versa. The lights visibility is then switched and when entering the hip box it turns off instead. How do I fix it?  
Ps. How do I turn the light on permanently when he enters but have in not visible at start?

---

<div class="post-metadata">

**Author:** ![sjcobs](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sjcobs/32/918649_2.png) [@sjcobs](https://forums.unrealengine.com/u/sjcobs)\
**Post date:** [October 17, 2018, 8:20pm UTC](https://forums.unrealengine.com/t/toggle-visibility-delay-node-issue/435850/2 "2018-10-17T20:20:58Z")

</div>

Can I see your blueprint?

---

<div class="post-metadata">

**Author:** ![HeyTaylorA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HeyTaylorA](https://forums.unrealengine.com/u/HeyTaylorA)\
**Post date:** [October 17, 2018, 8:52pm UTC](https://forums.unrealengine.com/t/toggle-visibility-delay-node-issue/435850/3 "2018-10-17T20:52:05Z")

</div>

Won’t let me for some reason but it’s the same as 16:37 [Intro to Blueprints: Toggling a Light with the Level BP | 03 | v4.8 Tutorial Series | Unreal Engine - YouTube](https://youtu.be/gHdwOiR0D0A)

---

<div class="post-metadata">

**Author:** ![sjcobs](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sjcobs/32/918649_2.png) [@sjcobs](https://forums.unrealengine.com/u/sjcobs)\
**Post date:** [October 17, 2018, 11:33pm UTC](https://forums.unrealengine.com/t/toggle-visibility-delay-node-issue/435850/4 "2018-10-17T23:33:36Z")

</div>

Its because you are using “toggle visibility” with the delay. To fix this do not use toggle visibility, instead be more specific and “set visibility” to true when overlapping, and “set visibility” to false when not overlapping.
