Laser positioning x tool p2

Is there g-code to deploy the laser head, then lower the nozzle at the beginning, and raise the nozzle before returning home