@ EpsiloN: I tried your code as well. Your code does open up the inventory, and shows the four images I placed in the inventory. However, I cannot see the mouse cursor when I move the mouse. Also, when I press the "i" key a second time, nothing happens. I still see the inventory images.