I'm trying to trigger an event with
distance(herosprite.x,herosprite.y,enemy.x,enemy.y)lower or equal to 300
Nothings happening. The only thing I can think of is that "herosprite" is a global sprite located on another layout, and I'm not clear yet how different instances of an object effect things...
Anyway, here is the CAP, I'm too tired to think about it anymore... Hope you guys can help!