The loop works fine, it's not slowing the game. I didn't know you can acces item by number like this.
game.CurrentCharacter.Items[inv]
I would like to avoid using animations, but i don't know if what i'm trying to do is not overcomplicated.
As it's stored in interface, i can't create objects there, so i can't animate the Scale.
So my idea is something like this. To use the images from the items.
1 Show interface
2 button.animation = Current_Item.animation.firstFrame3 Play animation
4 Animate the size of the animation
5 Animate the visibility of the interface
6 Stop the animation, hide interface
The end result should be just zoom of the item image with a fading efect of visibility.
There are fields like
ButtonAnimation or
AnimationFirstFrame but i can't put this together