Ok so I can't seem to find this anywhere but I was having a dream I was in my room, and in a deep sleep, about to go to the pool so I was getting undressed to put my bathing suit on and all of a sudden I went into a lucid dream and then again all of a sudden I woke up doing what I was doing in my dream, which was getting undressed and ready for the pool. What is this called?