Okay, so I was getting quite frustrated and decided to put this particular problem aside for a couple of days to let it marinate in the back of my mind.
After lots of thinking, experimenting, and looking at multiple inventory system tutorials, I think I have my inventory working visually. All of my individual slots are the same widget, with my specific setups for each panel category being enabled or disabled according to the slot’s index value and a category Enum. I have copied your provided setup except for two things. Going off of [this][1] tutorial, I manually placed my slots into my Inventory widget where I can manually assign them the desired index values. This bit seems to work perfectly fine so far.
(I just realized this looks exactly the same as my last attempt, but my widget references are referring to my manually-placed (and named) slots that are all derived from the same widget this time as opposed to all being different widgets like last time.)
The only other thing I’ve changed is that my “Slot Is Selected” event toggles an “Is Selected” Boolean which is one of the variables that set my slots’ colors as needed. Your mouse wheel function is copied over as-is, and I’ve also managed to solve my array-setting-and-calling problems so that I was able to copy your iteration setup as well.
It’s still not working, though. I’ve tried attaching a print string to my “Is Selected” even toggle to see if something happens, but I’m not getting anything. I’ve been trying different things to try and fix it myself, but I think one of the things confusing me is that I’m not entirely sure what the purpose of your Int Map array is, and I suppose I’m also not sure if I’ve even set it up the right way (I just created a new array of integers).