vx=x-xprevious
vy=y-yprevious
act=0
with (other) {if place_free(x+vx,y+vy) {other.act=1}}
if act=1 {
other.x+=vx
other.y+=vy}
Probá algo así, no estoy con muchas luces hoy pero debería funcionar
vy=y-yprevious
act=0
with (other) {if place_free(x+vx,y+vy) {other.act=1}}
if act=1 {
other.x+=vx
other.y+=vy}
Probá algo así, no estoy con muchas luces hoy pero debería funcionar