This sample experiment demonstrates two methods for implementing a Visual Analog Scale.
The first method utilizes multiple SlideText sub-objects placed in a line on a Slide object. Each SlideText is named “Text” followed by a digit. The digit will represent the subject’s relative rating of the presented statement. The SlideText clicked by the subject is determined using the HitTest method and the rating is logged in the data file.
The second method utilizes the Canvas object to draw multiple rectangles in a line on the screen. After the subject responds, InLine script is used to determine if the subject’s click was within one of the rectangles and the rating is logged in data file appropriately.