Texture draw priority

Hey,

i hope there isn’t already a question about it, but i don’t know the english term for my problem.

I draw texture of my inventory at different times. For example my character window is drawn before the inventory.
So if i move my item to an CharacterSlot my ItemIcon is on top. If i move it back to the inventory, its UNDER the inventory textures (until i drop it). Same with inventory slots i draw after everything else. I got a Backpack System, that adds space to my inventory. So if i carry a backpack, the hud draws more inventory slots.

How can i make the ItemIcons be always on top of everything? I draw them with Draw Texture Simple. Should i draw them with the normal Draw Texture?

It’s all about the order in which you draw the textures. So for your ItemIcons to be drawn on top of everything else, just make sure not to draw them until after everything else has been drawn.

Ok, so i can only fix this by ordering the draw sequenz. that gonna be funny >.>

Thanks for your answer.