# Problem with in game action

**URL:** <https://forum.kirupa.com/t/problem-with-in-game-action/329947>\
**Category:** flash\
**Created:** [November 11, 2012, 4:53am UTC](https://forum.kirupa.com/t/problem-with-in-game-action/329947 "2012-11-11T04:53:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave\_Whalen](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@Dave\_Whalen](https://forum.kirupa.com/u/Dave_Whalen)\
**Post date:** [November 11, 2012, 4:53am UTC](https://forum.kirupa.com/t/problem-with-in-game-action/329947/1 "2012-11-11T04:53:54Z")

</div>

OK my game is below (yes i am just starting)  
so my problem is when you pick up the key in room 1 and go to room 2 the key disappears from your inventory slot and goes back onto the floor in room 1. It is supposed to (if you can’t tell from the code)  
go in inventory  
go to room 2  
_key still in inventory_ Click key  
door opens + key disappears  
(if you go back to room 1 key is still gone and door is still open in room 2)  
click door  
win game  
This is not happening so I am asking you guys for some help.
