react-p5
react-p5 copied to clipboard
mouseOver(), keyPressed(), and other such hardware input functions are not being triggered
Hi, I got everything to work fine in React but the user input functions like mouseOver(), keyPressed(), etc, although they can be seen as correctly defined on console logging, they are not being triggered by the mouse or keyboard.
Does anyone know how to make them work?