You could use a variable to determine when the menu is open, something like this :
On object clicked : set menuopen to 1, show menu.
On any click, mouse cursor is not over menu, and menuopen = 1 : set menuopen to 0, hide menu.
You just need to pick the hidden sprite, this can be done in a number of ways. You could use hidden sprite is overlapping enemy if they are touching. Or in this case a container may work well, if you put the enemy and hidden sprite into a container, whenever you destroy the enemy it also automatically destroys all other objects in the container so including the hidden sprite.
Google do it themselves of course : support.google.com/googleplay/android-developer/answer/9859348
You must make sure you delete all instances of the object that are using the image, then you can use 'unload memory' system actions
Oh do you mean the actual position on screen as in the co-ordinates of the letter, I don't know how to do that or if it's possible.
Look at the 'tokenat' expression, it is used for this where you track individual characters in a string.
There's not enough info here really. Are you setting the value yourself? NaN means it's of the wrong type.
They are global and keep the same value when you go between layouts
Nope that's not what I was suggesting, I said to use the global variable you have for pause as a condition to block out the button click event.
Presumably you have an event which is button family on clicked, do something. You add a condition to this event that must be true for the click to work.
You would disable the click logic for the game buttons so wherever that exists add a condition 'pause = 0', that way they cannot be clicked when pause is 1.
Develop games in your browser. Powerful, performant & highly capable.
Gonna need that file
Member since 5 Aug, 2013