To learn how the manner of preparation influences film development, this study examined film expansion under a variety of deposition settings. To learn about the membrane’s properties and to ascertain the optimal pretreatment conditions, which are represented by ambient temperature and pressure, Laser pressure of 2.5m bar, the laser energy density of 500mJ, distortion ratio (x=0.5) as a function of laser pulse count, all achieved with the double-frequency Nd: YAG laser operating in quality-factor mode at 1064nm. MgxZn1−x films of thickness 10±200nm were deposited on glass substrates at pulse frequencies of (1–6)Hz and pulse durations of 10ns. The spectrum of rays. The X-rays demonstrated that the diffraction peaks’ findings show that the crystallinity of the films is highly dependent on the quantity of magnesium present in the layers. All the generated movies feature a polycrystalline hexagonal membrane structure, with the (101) plane being the main reflection. The average particle size was determined to be less than 50nm using FE-SEM measurements, and (RMS) of the surface roughness of the membranes MgxZn1−x may be calculated using AFM analysis. The spectrum spans from (300)nm to (900) nm in wavelength. All films have a transmittance rate of more than 70% for the visible area of the spectrum=(400–800)nm, and in one model, it reaches greater than 95%. The energy gap (Eg) for these films is (2.68, 2.6, 2.4 and 2.32) electron volts, with a standard deviation of (100, 200, 300, and 400) shoot. In addition, the energy gap values drop as the laser pulse strength increases, and the range in which these values may be set is quite narrow (2.68–2.32).