Trying to draw same image at different locations

I have an array of actors called Consumable which stores whatever the player picks up. Im working on the HUD now for the player and for every item on that array I want to draw a potion in my inventory HUD. My problem is that it’s not drawing copies of the image even though I use a foreach loop, insteand its sliding the one potion image across the screen so I have a logic error here.

My blueprint:

Try setting Whichslot to 0 before the foreach loop begins.

OR

You could set it to 0 (or wherever you need to start drawing the images) on the False node of (if Index != 0)

Anyway you do not need Whichslot, you can simply multiply the current index with 50 which will give you the same result. Unless ofcource, you intend to start drawing it on X greater than 0.

Thanks man, I knew it was simple logic error.

I must admit, it took me 15 minutes to figure that out :wink:

PS: Please mark the thread as solved.