Use the boolean instance variable that you've already set up for the player: 'interact1'
keyboard 'space' - toggle boolean 'interact1'
- player boolean 'interact1' true? - do stuff
- player boolean 'interact1' false? - do other stuff
or something like that.
Although, I haven't gone through your example very closely... as long as you only toggle it once per tick, you shouldn't have any problems.
edit: Here you go.plauk2011-11-04 11:21:10