How would I make it so that right clicked (and held) objects follow the crosshair in the center of the screen, (not required > and act like they are being held by a string, and they dangle)

I’m new to Unreal Engine and I was just messing around with it, so far I have 2 AI’s that follow the player, but I was wanting to make it so you can pick stuff up and throw it at the AI’s. I want it to be like how you can pick stuff up in the game “Stranded Deep,” where it just dangles on your crosshair. This might be too complicated, and if it is, you’re always welcome to recommend a good starting tutorial.