How to create a "solid" object in regards to mouse-clicks?

Get help using Construct 2

Post » Thu Aug 14, 2014 4:33 pm

Is it possible to somehow set an object to be "solid" in regards to mouse-clicks, meaning that you wouldn't be able to click "through" this object and can therefore use it to cover other objects from being clicked. This is otherwise default behaviour in web / flash development...
B
3
Posts: 1
Reputation: 175

Post » Thu Aug 14, 2014 5:09 pm

Perhaps you could check if the "solid" object is colliding with another object. If that question is true, then nothing happens to the object below it. Just a thought, try it out ;)
B
9
S
2
Posts: 28
Reputation: 811

Post » Thu Aug 14, 2014 5:12 pm

No, you have to manage the clicks yourself.
Last edited by blackhornet on Thu Aug 14, 2014 5:33 pm, edited 1 time in total.
ImageImageImage
B
71
S
22
G
258
Posts: 3,791
Reputation: 143,198

Post » Thu Aug 14, 2014 5:32 pm

Adding an inverted overlapping condition to your click events will work.
B
64
S
25
G
10
Posts: 654
Reputation: 10,842


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests