Return object to original position after line trace?

You need to set the location and rotation of the object right after line trace to a vector and rotator variable. Then use those to set the location and rotation of the object when it is released.

So after pressing F to cast a line trace, my object is brought in-front of me, I would like after I press F for a second time for the object to return to it’s original position, as it stands, it just drops to the floor. Any help is greatly appreciated. My image of my blueprint wouldnt upload so I linked to an imgur of it instead, thank you

Blueprint

Hi there, ty for your reply, I tried something like that but it seemed to have no effect

You need to plug those set nodes between the branch and grab component nodes.

That doesn’t seem to work, it might be because I have an event tick that updates the location of the grabbed object which enables it to move with the camera

You need to stop setting its location with Tick when you drop it. It should roughly look like this:

Drag the pin from Held Object variable and search for Static Mesh. It should give you the static mesh component in that static mesh actor.

Hi, thank you for your help it is greatly appreciated however I am having one final problem, I have no idea how to get the node in the image below: