Disable my flashlight at start

Hi!
So I’ve been working on a map for some time and I’m not very familiar with coding and blueprints but I managed to make a flashlight thanks to some tutorials.
Now when I press F I get a spotlight who works as a flashlight and it works pretty nice, but the problem is when I press Play the light is already enabled, and I don’t want that.
I modified the FirstPersonCharacter BP like this :

I saw somewhere that you can disable the auto activate spotlight by selecting the spotlight (on the left component tab) and then uncheck the “auto activate” option (on the right tab) but I couldn’t find it. Can someone please help ? I’m working on 4.10 version, thank you.

Hey Michael!

First of all, in this case, the flipflop is unnecessary, since it does the same exact thing. But, it’s not a problem, just kinda burns my eyes.

So you want to add Event BeginPlay and after that Toggle Visibility of the light. It’s that simple!

Cheers! :slight_smile:

It worked :slight_smile: Thank you for help !