How to trace ignoring button widget?

I want to make line trace from mouse position using “convert mouse location to world space” node. However when mouse is on button widget, the line trace is blocked by the button. How can I avoid this blocking?