Sphere trace for object help

Hi so im just making Function to detect walls and i was working off someone elses examples and work however i have this setup


Im totally lost on how to get the marray worldStatic and world Dynamic to interact with my Walls witch are box brushes

thank you for taking the time to read this i hope you can guide me to learn!