I am struggling with a thing. I can't make this object go slowly to an object that is supposed to attract it with another object, so when it touches "TheZone", it should go up slowly until it reaches "traget", but it just teleports there. does anyone know what should i do?
GML:
if place_meeting(x, y, TheZone.mask_index) {
for (var i = 1; i > 0; i = y - traget.y) {
y -= 1;
}
}