with (instance_create_depth(x, y, 0, obj_beatflash)) { image_xscale = other.sprite_width; image_yscale = (1 / sprite_height) * 300; }