Issue with code component during online pilot

The crib sheet already contains a recommendation of event=psychoJS.eventManager; in code_JS to avoid manual editing on each occurance. This definitely works for event.getKeys() and event.clearEvents()

This is apparently a solution for JS but I don’t know how to back translate it to working Python, which is why it isn’t in the crib sheet

1 Like