As soon as there's water pressure on the pipe, the sprinklers pop up and start watering. You can set the angle for each sprinkler, for example from 90 to 360 degrees. When you turn off the tap, they sink back below ground level.
With an irrigation computer on the tap, it happens automatically, even while you're on holiday.