Okay that makes sense.
I am currently doing this with a LineTraceOfChannel with a distance of 300 to the object.
When the LineTraceOfChannel event reaches the flashlight, I set a Boolean value that says that the flashlight is in focus. I then call up this Boolean value in the flashlight.
The CustomEvent “Client Scanning for Items” is a preparation for a possible switch to multiplayer
See screenshots.
Can you give me an example of how I roughly set up the whole thing in the Player Blueprint.
Thanks a lot