That was a lucid dream if you knew you were dreaming the only thing is you have no dream control. After a few more lucids you will get control trust me its worth the wait. Next time you know you are dreaming try and concentrate on having control and really imagine on whats going to happen next.

Just stay positive. Good luck.