Pause a moving stimulus


Author
Message
InquisitJStudy
InquisitJStudy
New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)
Group: Forum Members
Posts: 2, Visits: 21
Hi there,

I am new to programming and Inquisit. I am wanting to produce an experiment that simulates the act of scrolling through images on a phone app, like Facebook or Instagram. To do so, I've used the animation path in my <picture> code, to make each image on each trial move from the bottom of the screen to the top of the screen over a 1000 ms period. However, what I would really like to do, is to have the animation of each of the images pause when its get to the middle of the screen, for 10 seconds, and then continue to the top of the screen. Right now what seems to happen, is that the pause only happens after the image is done moving to the top of the screen. Is there any way to pause the image in the middle of the screen, halfway through the animation?

This is my script currently:

<picture bop>
/items = ("cat5-1.jpg", "cat5-2.jpg", "cat5-3.jpg")
/animation = path(1000, 1, 50%, 100%, 50%, 0%, 50%, -50%)
</picture>

<item bop>
/items = bop
/select = noreplace
</item>

<trial boptrial>
/stimulusframes = [1=bop]
/validresponse = (0)
/trialduration = 10000
</trial>

<block bopblock>
/trials = [1-3 = boptrial]
</block>


Any help on this would be greatly appreciated! Thank you.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search