I recently discovered construct. I'm trying to figure out how to make enemies spawn at a random instance of an object.
I've managed to do this through a variable that is randomly generated every x seconds. The enemy sprite teleports to one of the pink squares.
What I would to do now is have the enemy sprite avoid a square when the player is overlapping it.
I'm having a hard time coming up with a solution for this.
Is there perhaps a way to make a reference to an instance variable instead of the UID?
Here's the .capx file: