handleMovementTrace: function(res) { this.parent(res); if (res.collision.x || res.collision.y) { this.timer = this.timer || new ig.Timer(3); } }