I have an inventory, crafting and building system in my game and right now I am working on the inventory part. I have all the items that could be added to the inventory in a data table and basically I want certain items in the data table to call different actions. So basically, when you add an item to the inventory and you click on that item it will do a certain action for example if I have an apple in my inventory and I click it I want it to add a value to a float variable. The only thing I need help with is determining what item I am clicking on this way I can set up different actions for different items. Thank you.