Not sure if it's possible, or I'll have to manage as is, but I've got a custom inventory GUI. It's going to have a lot of items in it, but at the moment every time it opens, it's at the same position (i.e. the inventory window is showing the same objects) as when the window was closed. Is it therefore possible for me to return the view to the top every time the window is opened?
Maybe your Inventory Window is just to small and you have to scroll it down?
...can we see a screenshot? ;)
invWindow.TopItem = 0;
Ah, so it *is* the TopItem thing - I thought that was just a read-only thing to produce an output demonstrating what the top one was. Many thanks!
From the manual:
Gets/sets the index of the first item currently displayed in the inventory window.