Check if actor is lighted by specific lighting

Hi,

is it possible to check if an actor is lighted by a specific light source (point light)?
The light source is a component of the player actor and I want to highlight certain actors (e.g. items) if they are lighted.

Currently I’m able to get the light source in the item’s blueprint that has to be highlighted, but I have no idea how to check if that item is lighted.

Thx for help.

I think it would be easier to do a sphere overlap at the position of the light, and then do a ray trace from the light position to whatever actors are in your sphere overlap. If the raytrace hits the right actor, consider it “lighted”.