Raycasting arround the AI. 360 degree

Hello,

I am new to theraycasting Its a important thing for an ai. If the AI hear is hearing something. The function Chase() is been activated this function contains a raycasting thing. This must be arround the whole AI 360 degree. I have seen it on this site but on that moment I dont needed it. Can anyone hlep me?

A sphere cast may be what you’re looking for.