PennController for IBEX › Forums › Support › Issues with DashedSentence on new farm › Reply To: Issues with DashedSentence on new farm
May 26, 2021 at 11:24 pm
#7000
Participant
Hi Jeremy,
A belated thanks for this! With canvas.add, I’m not sure how to get wait to work properly. With the code below, it just hangs at the final word. Any idea how to fix this?
Thanks,
Zach
newImage("sb1", "training_sb_inplace.png")
.settings.size(sb_width, sb_height)
,
newCanvas("sprcanv", canv_width, canv_height)
.center()
.add( sb_x_left, 0, getImage("sb1"))
.print()
,
newController("ds1", "DashedSentence", {s: row.SentenceText, mode: "speeded acceptability", blankText: "+", display: "in place"})
,
getCanvas("sprcanv")
.add(ds_x_left, ds_y , getController("ds1"))
.wait()
.remove()