Need help fixing camera follow script


#1

OK so any know the best way to learn to code javascript on playcanvas better.
And also btw I need help fixing https://playcanvas.com/editor/code/601234?tabs=17380966&line=2&col=1&error=true
also can someone fix this


link to the project https://playcanvas.com/editor/scene/705398