Those are called Jack Up rigs, the legs are lowered, the bottom of each leg has a big pad like a foot. When the foot hit the bottom and are pushed down more eventually the drilling rig lift out of the water and is not bothered by current or waves. There is a gear drive or a ratchet system on each leg to raise or lower it,
Steve W