A joystick is a slightly more complex control that collects user input through the illusion of a video game joystick. The joystick is a draggable object that applies a bit of physics to limit its drag movement to a circular area and bobble back into place when released.
This sample demonstrates an animation whose path is controlled by a virtual joystick. Click the joystick handle and drag it from side to side to see the results.
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.