How could i rotate an object with middle mouse button?

Hey dude. Try using the Do Once node to limit the execution to only fire once. The Reset input on that node is used to allow another execution to pass through, so when you’re allowing another pickup, also reset the node.