Go to the BP_Flashlight then go to the viewport and select the SpotLight component in the components panel. Next copy the video shown below.