proj = instance_create((x + (32 * image_xscale)), y, oA4ElecBeam) proj.image_xscale = image_xscale if (state == 1) alarm[0] = 10