Hi all,
I have a line of code from a module and I was was wondering if anyone could explain the line for me please so I have a better understanding of what is happening…
index = math.min(math.max(index,1),#backpack)
‘backpack’ is a table of items.
Many thanks.