Triggering Events with Line Trace

In your Switch’es blueprint, make sure you have a collsion component as your root (Capsule, Sphere or Box). Or that your Static mesh has a valid collsion geometry. After that within the ‘Collsion’ settings, set the collsion channel settings so that your object will ‘Block All’ in the visibility channel. OR you can simply set Collsion Behaviour to ‘Block All’. That should fix this.