# Why isn't my light toggling?

**URL:** <https://forums.unrealengine.com/t/why-isnt-my-light-toggling/436585>\
**Category:** Rendering\
**Tags:** error, toggle, light, unreal-engine, Lighting, question, Blueprint\
**Created:** [October 28, 2018, 5:02pm UTC](https://forums.unrealengine.com/t/why-isnt-my-light-toggling/436585 "2018-10-28T17:02:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OG\_FATFACE\_420](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OG\_FATFACE\_420](https://forums.unrealengine.com/u/OG_FATFACE_420)\
**Post date:** [October 28, 2018, 5:02pm UTC](https://forums.unrealengine.com/t/why-isnt-my-light-toggling/436585/1 "2018-10-28T17:02:14Z")

</div>

So I setup a light component so where when you press F, it toggles the light. It works except that the light does not toggle. Did I do my blueprints wrong? Here is a video:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/a/6/aa68df045534754424cb282fe24c4b74f017946f.jpeg "Help With Unreal Engine") ](https://www.youtube.com/watch?v=D3pLA5FcwQ4)

Also, when I set the visibility of the light from the start off, the spotlight is still on. What should I do? Help is appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![PixelOmen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PixelOmen](https://forums.unrealengine.com/u/PixelOmen)\
**Post date:** [October 29, 2018, 8:20am UTC](https://forums.unrealengine.com/t/why-isnt-my-light-toggling/436585/2 "2018-10-29T08:20:05Z")

</div>

It looks like your light is set to static. You’ll want to set it to stationary or movable, probably movable. Stationary would also work in this specific case, but movable are the easiest, most flexible lights to use (for a price).

> **[Light Mobility](https://docs.unrealengine.com/4.27/en-US/BuildingWorlds/LightingAndShadows/LightMobility/)**
>
> Light Mobility and how it affects lighting and shadowing.
