Sample code to show how an iOS Motion Manager component can be used to control the movement of a sprite.