How can i make one instances of one object go to only instance of another object?
Currently my code is: imgur.com /x4PpVgP
My plan is to get the position of the Square object and compare it to the SqMarker object, snapping it into place withing a certain distance from the image point of the SqMarker object. However, I can only do this with the first instance of the SqMarker object. If I destroy the SqMarker object, all instances are destroyed.
I would trying doing this by selecting the object's UID or hard-coding it to snap to a certain position, but I plan on randomly generating different levels (that would have a set configuration). I am also limited to the free version of construct 2.
I'll upload my .capx file as well. It's right here: dropbox.com/s/b1dhtf3ujkq6okm Shape.capx?dl=0