jerseyware's Forum Posts

  • 1 posts
  • My game's main menu is structured with sub-menus that open as stacking layers. In the Open Profiles -> Manage Accounts stack, the Close Window button for both sub-menus occupies the same x/y space on two separate layers. However, when I click to close the Manage Accounts sub-menu/layer, the click affects the Profiles sub-menu close button as well, and both sub-menus/layers disappear.

    The events are structured in a way that prioritize the sub-menus based on visibility, so it's more or less written to do exactly what's happening. Is there a way to limit the input of the mouse click to prevent this input from going through layers? I can reform the sub-menus, sure, but if I can do it in events I'd like to know. Thanks in advance.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 1 posts