The rain was starting / started while we were swimming / swam in the seaСрочно!!!
The rain started while we were swimming.