Attach spawned actor to mouse

I remember following an unreal engine tutorial a long time ago, it was such a simple step of just spawning an actor and it was stuck to my mouse, it then went on to tell you how to stop that but now I want that xD

I cant seem to find it now what the blueprint was called, I just want to spawn an actor and have it stuck on my mouse.