| Reference | Downloads | Github

Creating feedback on mouseclicks

Description of the problem:
In my ONLINE study I am trying to create a task where participants have to click inside a circle with mouse rightclick. Each mouse right-click should draw a blue cross as shown in the photo. I have this working offline in builder version using codes from the github. Inspired from here. I have been struggling doing the same in online. My previous posts on the forum did not help solve the issue. Suggestion I received were having JS only code where I define my makeCross function. If anyone has similar task involving where participant receive feedback(draws some shape) on mouseclicking, please help!

Thank you in advance.