//#CLIENTSIDE function onCreated() { setTimer(0.05); } function onTimeout() { this.cx += ((player.x) - this.cx) * .1; this.cy += ((player.y) - this.cy) * .1; setFocus(this.cx, this.cy); setTimer(0.05); }