It occurs usually during REM while sleeping, basically you can act out your dreams and mold them to a point where you can do whatever you want. This has happened to me only twice, and I really want to learn how to do it every night. Discuss lucid dreaming.