PennController for IBEX › Forums › Support › inserting getEyetracker start and stop into the code › Reply To: inserting getEyetracker start and stop into the code
March 14, 2023 at 7:21 am
#10385
![](https://www.pcibex.net/wp-content/uploads/2018/10/IMG_8365-e1540835663655-150x150.jpg)
Keymaster
There seems to be a bug with printing to a Canvas element in a default command. So take out the print
from the defaultImage
command (defaultImage.size(1280,720)
) and add the print
command to each Image element instead:
newImage("image0", row.Static_image1).print(0,0,getCanvas("imageContainer")), // ... newImage("image1", row.action_image).print(0,0,getCanvas("imageContainer")), // and so on
Jeremy