How do you raytrace the mouse screen position onto a world XY Plane?

Go into project settings and create a new channel.

Then choose that for your line trace and make sure your object’s collision presets are properly set up.