Flashlight Collision issue

Hello everyone,

After following some tutorials, I recently made a flashlight that allows an A.I to see it via collision channels, but I just realised I have hit a small snag, the AI will be able to get hits from its line trace through walls currently with the mesh I am using to detect where the light is, is there any way to solve this issue as I do not want to run into the problem of having an AI that can basically see through walls…

Use multi trace instead of line trace: