Slick slide- how set nextSlide in beforeChange
<p>How can i change nextSlide in slick slider in beforeChange</p>

<pre><code>$(blockName)
   .slick().on('beforeChange', function(event, slick, currentSlide,  nextSlide){
   nextSlide = 9; 
});
</code></pre>