Originally posted by Tristen
i was wondering if any one had an idea to make it where when i press a button while menu is closed it locks the menu until i press the button again to unlock it, thank you
All you need todo is create a var then check if the var is defined or not in your menuhandler so like this
self.lockMenu = true;//LOCKS MENU
self.lockMenu = undefined;//UNLOCKS MENU
add this to your menu handler
if(!isDefined(self.lockMenu))