This sample demonstrates the use of the Translate function to move two objects across the window.