Get Hit Result Under Cursor

What the Get Hit Result Under Cursor for Objects will do is perform a collision trace from the place where your cursor is away from the screen, and it will return the first object the trace hits that matches one of the Object Types you specified.

So if the static meshes in front of your object are not of an object type specified in those Object Types they will be ingored and the trace will go through untill it hits an object that matches the Object type.

If you want to check on all objects that are visible you can use Get Hit Result Under Cursor by Channel with Visibility as Trace Channel.