How to correctly get the location the mouse is in 3d space

Hi everyone,

I am working on a space strategy game. I am currently dealing with movement and I am getting frustrated with it. What I want to do is teleport given actors from an array to the mouse’s XY location in 3d space while the Z being 0. I am trying to do this with ConvertMouseLocationTo3DSpace, but this does not seem to work. It just moves the actor a little bit

Any ideas would be appreciated