PennController for IBEX › Forums › Support › Issues with DashedSentence on new farm › Reply To: Issues with DashedSentence on new farm
May 27, 2021 at 9:19 am
#7005

Keymaster
Hi Zach,
You are calling wait
on the Canvas element: there is no wait
command on Canvas elements. You want to call it on the Controller element instead:
newImage("sb1", "training_sb_inplace.png")
.size(sb_width, sb_height)
,
newController("ds1", "DashedSentence", {s: row.SentenceText, mode: "speeded acceptability", blankText: "+", display: "in place"})
,
newCanvas("sprcanv", canv_width, canv_height)
.center()
.add( sb_x_left, 0, getImage("sb1"))
.add(ds_x_left, ds_y , getController("ds1"))
.print()
,
getController("ds1")
.wait()
,
getCanvas("sprcanv")
.remove()
(I called remove
on the Canvas element, but since you meant to call wait
on the Controller element, I’m not sure which element you wanted to remove)
Jeremy