How Can I Add Light On The Player When I Press Left Shift

Hi, I Was Wondering Around How Can I Add Light On The Player When I Left Press Shift And Remove The Light When The Left Shift Released, So Can Anyone Help Me?

But Pls Using BluePrints Only Because I’m Not Interested In Using C++.

First you add the light in the Components windows and set its visibility to off. Then you can use your input key to toggle the light on and off.

For example here I first defined an Input called ToggleLight and assigned Left and Right Shift keys:

Then I added a PointLight (any light will do) component to my character class and disabled Visible in details panel:

Finally, I added the below graph to turn my light on and off using Shift keys.

thank You Thank You