i was working on Mousedown and i get this error
if (event.button === pc.MOUSEBUTTON_LEFT) {
i was working on Mousedown and i get this error
if (event.button === pc.MOUSEBUTTON_LEFT) {
I fixed it, I had to change it from Keyboard to Mouse