Object that follows mouse position. How to properly do it with BP?

by default the location returned will be right in front of the camera, the 500 is a distance away from the camera. The distance is based on what you feel is correct or the needs of the game.

What is the effect you want to happen? Do you want something to appear in front of the camera or on the ground based on the mouse location?