[solved] mouse response images and shapes
I am new to Opensesame and have a few problems. I'm trying to figure out a way to record mouse/joystick responses based on images and shapes on the sketchpad. I am using Opensesame .27.
Basically, subjects see a math problem either using numbers (text on a circle, ex 5 + 4) or dot arrays (bmp file, ex picture of 5 dots + picture of 4 dots) for 2 seconds then another sketchpad for 4 seconds showing 5 answer choices in the same format of either a circle with text or picture of dots, arranged in a circle around screen.
I would like to make it so the mouse click on the image or circle is recorded according to the circle or image file. I assume the best way to do this for the picutres in the dot condition is with widgets using something like:
widget 0 0 1 1 image_button path='5+4_9.bmp' var='response'
Where do I put this and is it possible to use a variable rather than specifying the exact file (ie 5+4_9.bmp)?
For the condition showing numbers written on shapes, do I need to create image files for all of these rather than using the shapes and text on the sketchpad or is there a way to make these shapes a widget?
Also, with the timing, is it possible to not have the trial end when a response is made so that the answer choices are displayed for 4 seconds (or some intermediate screen is shown for the duration of the 4 seconds) regardless of how quickly the subject responds?
Sorry for the very basic questions- perhaps I am missing something quite simple.