You don't even need a function, if you don't need it for other conditions. In the "On touched Family" trigger, the item is already picked. Just do what you want with it. Otherwise, you would pass the UID to a function, and you'd have to pick it again.