Add to Hotbar with UI click

Aeon FitzGerald 1 month ago in Inventory 0

I'm aware of the "bind to Hotbar" actions, and i used that with a button component. 

The problem is, wanting that button to refer to whichever inventory item it contains (when using the inventory menu) currently I'm only able to add specific items. 

There's no way to refer to the inventory items as variables? 

Unity version:
Game Creator version: