Like so then:
If you want to trace against a horizontal plane only, ignoring Z, and catch hits between the player and the projected cursor: