Touching an object behind another

Get help using Construct 2

Post » Tue Mar 20, 2012 12:15 pm

I know it's a bit of a stretch, but I'm trying several method for localization and one is to put labels on top of buttons, the problem is that I need to touch the button, not the text. Is there any way to make c2 ignore the existance of an object touch wise? Visible and only, only "untouchable".

Thanks
B
29
S
9
G
6
Posts: 525
Reputation: 8,294

Post » Tue Mar 20, 2012 2:26 pm

As far as the mouse is concerned:

Create a button and place it.
Create a Text Object - Put over Button

Event:

On Mouse Click
->If Mouse Over BUTTON
-->Do whatever

It automatically will see all objects under the mouse, but YOU specify which object to ACTUALLY see in the event. It ignores all else.

I think it works the same with touch... Is that what you are asking, or am I to tired to understand?Zetar2012-03-20 14:28:23
B
192
S
6
G
7
Posts: 213
Reputation: 10,178


Return to How do I....?

Who is online

Users browsing this forum: spcsmrf and 21 guests