I have made a custom inventory GUI. It works fine except if you click between two objects, no matter how close to the one on the right, the one on the left is always selected. If you miss an inventory item by a pixel to the left, the one next to it is selected. It works the same with examining and interacting (I've added interact to the inventory) Is there a way to make it like the built in inventory, where each inventory item has its own little box (shown by the yellow square popping up) It would also be nice if I could have the yellow square effect or something similar to show which inventroy item will be selected if you click at the current coordinates.
Please help if you can. Thanks.
Please help if you can. Thanks.