Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | StraightUpGruntled |
I have tried to use the move_item function in order to change the index of an item in an ItemList, but it seems to not exist as a function. It says: Invalid call. Nonexistent function 'move_item' in base 'ItemList'.
Am I missing something? Is there some other way to change the index of a selected item in an ItemList?
Also, is there a way to set the index of an item, because there is no way if being able to tell exactly what item is where if I cant set a variable to its index. I’m so confused by ItemLists by the docs!!!
This is also for an inventory, so let me know if there’s a better way of tackling this.