OS (e.g. Win10): Win10/MacOS
PsychoPy version (e.g. 1.84.x): 3.0.3
What are you trying to achieve?:
I am trying to make a delay discounting experiment, in which after an individual chooses an option (between larger later and sooner smaller). At a start of each trial, an avatar (a triangle) would be placed between these two options, with the distance from each option representing a reward (see illustration below). So if individual chooses 10 dollars, triangle will start moving left and after a certain amount of time, will reach the left option and the trial will end. If an individual chooses 20 dollars, the triangle will start moving right.
I know how to animate stimuli, but I have no idea how to make the direction of movement conditional, as well as the choice of initial placing (i.e. making distance representative of delay).
Thank you for any input you can provide!