Right click inv item

and the main thing is ive allready finish my inventory and works fine i pick up item that have interactable area, even highlight item showing that i can pick it up, it goes to inventory i can equip and everything database tecnacly done but i wanted so that my buttons would have more option than just stupid left click, but i didnt wanna lose everything that i made until now, i just wanna change my slots from buttons to borders so that i would have more functionality like the right click like i mention, i thought it would be easy just to remove the crappy button and use difrent type instead but when i do that, the items i pick up dont show up anymore, so the question is, how would i change my inventory in order to use border but still keep it connected to everything i have