How do I for disable action behind a object?

Get help using Construct 2

Post » Sun Dec 18, 2016 3:27 pm

I got a problem again. :cry: I make interface like that. I want if the button exit on clicked then the panel will show and all buttons behind the panel can't clicked. Can anyone help me?
Image
B
8
Posts: 20
Reputation: 342

Post » Mon Dec 19, 2016 11:26 am

You can check if the HUD to exit is active and them put all the events of the behind part inside this check, if it's not active, the behind scene will run, else, run the front code.
Image
B
104
S
23
G
17
Posts: 1,350
Reputation: 22,028

Post » Mon Dec 19, 2016 1:44 pm

To rephrase TELLES0808
yep. Just add another condition to clicks on back buttons like Is Visible, Is Overlappin, Is on layer and then right click on it and make Invert so will be back buttons act only when forward... thing is not overlapping or not on screen etc.
If I understand you right.
B
9
S
1
Posts: 63
Reputation: 857

Post » Fri Dec 23, 2016 5:18 am

Can someone share simple the capx? I little confused now T___T
B
8
Posts: 20
Reputation: 342

Post » Fri Dec 23, 2016 5:49 am

TELLES0808 wrote:You can check if the HUD to exit is active and them put all the events of the behind part inside this check, if it's not active, the behind scene will run, else, run the front code.


I put all in the group. Thanks I got it now
B
8
Posts: 20
Reputation: 342

Post » Fri Dec 23, 2016 4:53 pm

Or just simply disable the collision of the family buttons :)
B
35
S
9
G
9
Posts: 207
Reputation: 6,805


Return to How do I....?

Who is online

Users browsing this forum: jkmalau and 15 guests