You are doing two separate traces probably leading to strange results.
If you’d get the cursor position from the playercontroller, then use the following node " Deproject Screen to World":
You get the position of the cursor in 3D world space, and a direction it points in (forward from view).
To trace from the cursor, feed the following data from that node into the Start and End pins of the LineTraceByChannel:
Start: Position
End: (Position + (Direction * Trace length))
If you wish to trace from sphere collision position to cursor position just use both positions as start and end point without further additions.