Where to start to achieve this effect?

Hello, this is an old post, but I need help. I can’t reproduce this effect, I think the problem is with the rotation of the Flashlight in my case. Coudl somebody give an example of a bp for “set these MPC values using the flashlight position and rotation X vector (assuming it points along the X axis, adjust accordingly).” ?