if (instance_exists(obj_chaseenemy)) { with (obj_chaseenemy) { if (y < 170) y += 2; } }