This article applies to:
This sample 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 represents the particpant'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.
NOTE: Visual Analog Scales can be made with little to no scripting in E-Prime 3.0 with the use of SlideButtons and SlideSliders (E-STUDIO: SlideButton Sub-Object  and E-STUDIO: SlideSlider Sub-object ).