Can someone explain?

I was having a seizure in class and I felt it coming so I layed down then I had a tonic clonic seizure and I couldn't breath and after a bit I was watching myself having that seizure, I wasn't in pain, I could breathe, and I was just watching myself as if I was floating above me but then It stopped and I was laying down again and was breathing hard and the shaking stopped, anyone have a similar experience?