SteamVR Input - Toggle pickup

I have created a scene in Unity with the SteamVR plugin. It has basic teleportation and throwable cubes (just the basic prefab stuff).

I want to now add a sword that the player can pick up. The way the throwable cubes work is that they are picked up on the trigger press and released on the trigger release.

How do I set up the sword to pick up on a grab press, then release on a second grab press.

Further, how do I set a custom anchor point for the sword (so that it is held correctly at the hilt, and faces the correct direction.

Thank you

Can you tell me if you want it to do in VR or just at a simple PC game?

In VR, I would like the grip button on the Vive Controller to be the input