im trying to get the camera to follow the mouse but i keep geting an error like this: Uncaught TypeError: Cannot read property ‘getPosition’ of null
var mousep = this.entity.findByName('mouse').getPosition();
this.entity.setPosition(mousep.x,mousep.y);