Disable buttons on lower layers?

0 favourites
  • 4 posts
From the Asset Store
A set of retro 16-Bit Neon UI elements to make your menus pop!
  • I have a popup with a rate button that appears over the top of my main layout.

    The Rate button itself lies across some of the coordinates of other sprite buttons on layers below.

    All my buttons use: Touch > On touched button name > events...

    Is there a way to disable the buttons on the lower layers?

  • I imagine there is a more proper way, but a quick fix could be adding a condition to the other buttons, invert rate button is visible (or in layout / however you have it set up).

  • Depending on the structure of your project, you could also disable groups. For example, To "deactivate" an entire eventsheet, you can first create a group and place all events in this eventsheet in this group. If the game's code is in one or more groups, turn them off as soon as your popup appears and activate them as soon as it disappears.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Depending on the structure of your project, you could also disable groups. For example, To "deactivate" an entire eventsheet, you can first create a group and place all events in this eventsheet in this group. If the game's code is in one or more groups, turn them off as soon as your popup appears and activate them as soon as it disappears.

    This is a much cleaner way to do it. Groups are awesome.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)