Cosmic Key is a fictional device from the Masters of the Universe film. It is a device that allows anyone to travel anywhere in any dimension, Skeletor managed to obtain one device, it's creator Gwildor was able to make another.
A life-size toy version of the Cosmic Key was planned by Mattel, but the toy line was cancelled before it could be made.
The minicomic The Cosmic Key has He-Man and the Sorceress of Castle Grayskull call upon the inventor of the Cosmic Key, Gwildor, because they think he is the only one with the ability to send the Evil Cloud back to its own dimension, by using the power of the Cosmic Key. Gwildor uses the power of the Key to send the Cloud to the far reaches of the universe.
Live action movie
The Cosmic Key is a device that was first introduced in the Masters of the Universe film, it allows its owner to create portals to anywhere. It was built by Gwildor.
Gwildor was tricked by Evil-Lyn into giving her his prize creation The Cosmic Key to Skeletor, and thus allowing them to enter Castle Grayskull and take over Eternia. As the unwitting cause of Grayskull's defeat, Gwildor endeavored to help He-Man overcome Skeletor by using a prototype Cosmic Key. When the heroes found themselves overwhelmed by Skeletor's army, Gwildor uses the Cosmic Key to help them escape, and the heroes are transported to Earth, leaving Gwildor faced with the task of finding the correct programming on the Key to transport them back before Skeletor gains the power of the universe.
The Cosmic Key is a complex device with numerous switches and buttons, which can be used to programme sonic waves, sounds, music and light patterns which serves to transport its users to the location of their choice.