I’m trying to make a flashlight where the user can adjust the height of the flashlight by pressing the “+” or “-” key, but I’m a little stuck. I followed this video for making the flashlight.
This is the blue print for the flashlight.This is my attempt at trying to get the flashlight height adjustments. Whenever the “+” or “-” key is pressed, the light disappears and does not come back. I’ve tried both SetWorldLocation, and SetWorldTransform, but the problem is still there. Any help is greatly appreciated!