I need A code for teleport

So, I need a code and some help for my game. I want you to be able to click on an item and then It would teleport into your hand where then you could eat it like a berry.

Hi @Jacob_Ellis2! How you have to approach this is based on your set up. Can you give a little bit more information about what kind of entities (and animations) you use?