I've found something using the "distance" expression:
scirra.com/forum/how-do-i-get-all-objects-in-a-radius_topic48595_post305201.html
My current object is called "bomb" and I want all "bombs" in a specific radius to also explode... how can I do it with the engine?
"for each objectThatyouwantTopick
-distance(pointofexplosion.x,pointofexplosion.y, objectThatyouwantTopick.x, objectThatyouwantTopick.y) < radius, do stuff"
Means:
for each bomb
-distance(bomb.x,bomb.y,bomb[from foreach].x, bomb[from foreach].y) < radius
How can I seperate between the items of the foreach and the bomb item that has exploded?
Best,
Benny