How do I check if something is not overlapping another thing

  • I wanted to change a global variable when an object is over lapping another object, and then change the global variable back to it's original state once the object is no longer overlapping the other object. How do I achieve this, if possible?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi there,

    Try to copy/paste your event, right click on the "is overlapping" condition and click on "invert". This will change your condition to "is not overlapping". Change the action at the end of your event and it should do the trick. "invert" works for almost all event conditions.

    Hope this helps!

  • Hi there,

    Try to copy/paste your event, right click on the "is overlapping" condition and click on "invert". This will change your condition to "is not overlapping". Change the action at the end of your event and it should do the trick. "invert" works for almost all event conditions.

    Hope this helps!

    Thank you! This helped a lot, will help in the future as well.

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