How to make Camera Look on Ysis?

Hi i was making a test FPS project with the WithThreeJS extension and i almost did it when i was trying to make the camera follow where the cursor is on the Ysis, But it dont know how, I tried doing the same thing i did with the x thing by copying and pasting and replacing the x with y but it dosent work. Pls help!

(btw i have another prob nobody is answering for some reason, here’s link:Why does it not open!?)