Trial /draw only when mouse held down


Author
Message
JoeMunro
JoeMunro
New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)
Group: Forum Members
Posts: 2, Visits: 15
Hi,

I am looking to draw to the screen, which I can do with the draw attribute of the trial,
But is there a way to only draw when the mosue is held down? So don't draw, hold down mouse to draw, mouse up don't draw.
This is my current code to draw:

<trial draw>
/ stimulusframes = [1 = imagesBW]
/ inputdevice = keyboard
/ validresponse = (" ")
/ draw = brush
/ screencapture = true
</trial>

Any help or if it's not possible would be great.
Joe
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
JoeMunro - 3 Years Ago
Dave - 3 Years Ago
JoeMunro - 3 Years Ago
Dave - 3 Years Ago
Dave - 3 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search