Mouse over the onscreen buttons to move the space ship. This is an example of how to create on-screen controls for games that target mobile devices.
The D-Pad control is made from 8 different button objects in the Interface layer. Each button sends a Message to the Space Ship object, including a rotation value.
The ship's Mailbox is connected to its rotation, and a switch enabling it to start or stop moving.