Sometimes I want to "pause" my game: I put semi-transparent layer upon the game and I want to deactivate all touche events under the layer. Can I define object not "transparent" for touches? And get just the touch events from the layer?
Create a group on your event sheet and put all the events you want to pause inside that group. Then on the condition that pauses the game include the "set group deactivated" command.
Develop games in your browser. Powerful, performant & highly capable.
You can compare an object inside the layer, or create a boolean, or compare opacity