Short on object click question

Just started using Construct 2? Post your questions here

Post » Thu Apr 21, 2016 12:32 pm

Hey guys

Short question: If object A is right over object B and I'm going to click in the area where both of them are, are both on object click events triggered for both objects? And are the on object click events also triggered if the object are invisible?

Thank you
Posts: 6
Reputation: 237

Post » Mon Apr 25, 2016 10:14 pm

As far as I know, both objects would be triggered if they were overlapping, unless you wrote a line of code in to control for the Z order (object a's Z order = greater than object b's z order; on touched = set state to XYZ)
You can do the same sort of check for object visibility.
Posts: 361
Reputation: 18,649

Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 3 guests