This article applies to:
This sample demonstrates how to manipulate an Image size based off the cursor position.
This sample illustrates how to use the CursorY position to enlarge or shrink an on-screen image. A blue and red car are shown. When the blue car is shown, push the Joystick or Mouse away from you. When a red car is shown, pull the Joystick or Mouse towards you. The InLine script sets the limits for the images as well as how often to update the height. When a midpoint threshold is met (halfway), the time is logged. The final time is logged when the upper or lower limit is hit. After that, scoring for correct and incorrect occurs.