Summon Core (Check Position Javascript)

Using this to summon actors: http://sumrndm.site/summon-core/

30gDZzr.png

30gDZzr.png


According to those pictures, there seems to be a way to check if "index" is in position XY, and if it is, place the new "index" to position XY+20 and so on, so that the third "index" gets placed to position XY+40 if theres an index in XY+20...

Basically I want to check the a position to see if there's already a summoned actor in place.

If there's a summoned actor in place, then summon the new actor to a different place.

And if there's a summoned actor in that different place, then summon the final actor in a different place.

I only want to have 3 summons max and I cant just event this in because I have about 30+ actors.
bump.

Original thread: https://forums.rpgmakerweb.com/threads/summon-core-check-position-javascript.91308/