#Inventory Problem

1 messages ยท Page 1 of 1 (latest)

tight wagon
#

im trying to make an inventory system but when it came to interacting with the ui i made it so i could click on a slot and it would pick up the item in that specific slot and would be attached to the mouse, now when i make the if statement in reverse everything stops working when i clear the mouse slot which is needed overwise there would be infinite items, anyone have any ideas?

#

the underlined line is where it all goes wrong