Rotating picked up object one one axis and moving with it

I want to add a rotation when I press the button “Q” while the item is picked up but I have trouble connecting the pick up with a rotation function.
The rotation should only be on the “Z” axis and it should work with walking and jumping just like the pickup function works.
I thought I simply can add an “If key “Q” is pressed, move pickedUpObject z + 10” for example.
But I don’t know how to connect another event after the “Grab Component at Location”.

I am new to unreal and every tutorial I saw was with mouse movent and more like an inspector type or rotation and also a complicated logic on the pickup, so I would be glad if anyone could help me out with my example.

Could you just do?

( But it would have to pressed while the component while still current ).

thank you very much, it works, I knew it had to be something like that but I did not know I could use the Hit Component to reference the object!