Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
is there any way to do something like this: if object1 that is pinned to object2 is overlapping object3, does some action that I want?? thanks.
Develop games in your browser. Powerful, performant & highly capable.
You can use .PinnedUID expression:
System Pick object1 by comparison object1.Pin.PinnedUID=object2.UID
...object1 is overlapping object3
sorry dop, I made a mistake, I forgot to warn that there are several objects 1, 2 and 3. because whenever object 1 is overlapping object 3 nothing happens because there are more than 1 object 1.
It should still work, you just need to pick correct objects.
It will be easier to understand your problem if you share your capx.
You can also have a obj_uid instance variable that is setup whenever you create/spawn the objects, making it easier to pick correct instances, like dop suggested.