• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GameMaker Glitch With Highlighting Slot In Inventory

S

Sahibjot Cheema

Guest
I'm making a inventory system in gms2. I was trying to highlight whatever slot your mouse was touching except that doesn't happen. If i put my mouse on slot 0, then it highlights 0. If I put my mouse over slot 1, it highlights the slot under slot 1 and if I put it on slot 2, it highlights the slot 2 under slot 3. I hope that explains what happens. Here's the code:
 
Last edited by a moderator:
Top