is there a code that will disable key press all together or to focus on just the input box so that i can type with the space key (space is used to pick objects up in game not in use when this menu is open anyway).
someone please help me, why do you people do this, why? (sry for the laps of sanity okay got to work, please answer).
I don’t quite understand, do you want to disable the pick-up-command when you’re typing? Just put an if-condition inside the onkeypress(“space”) that checks if a variable is true, and set the variable to true when you set focus to a textbox…[AS]TextField.onSetFocus = function(){
_root.disablespace = true;
};[/AS]Then you can set it to false when you loose focus:[AS]TextField.onKillFocus = function () {
_root.disablespace = false;
}; [/AS]Does this answer your question or did I misunderstand you?