https://www.yoyogames.com/tech_blog/30
GML
repeat(argument0)
{
with (obj_Parent)
{
if place_meeting(global.px, global.py, argument1) instance_destroy();
}
}
GML
var xx = global.px;
var yy = global.py;
repeat(argument0)
{
with (obj_Parent)
{
if place_meeting(xx, yy, argument1) instance_destroy();
}
}