if (target) { x = target.x; y = target.y; depth = target.depth - 1; sprite_index = target.sprite_index; image_xscale = target.image_xscale; image_yscale = target.image_yscale; image_index = target.image_index; image_angle = target.image_angle; }