Title: Touch threshold
Last modified: October 30, 2024

---

# Touch threshold

 *  Resolved [dreist](https://wordpress.org/support/users/dreist/)
 * (@dreist)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/touch-threshold/)
 * Hi,
   it would be great to be able to adjust the touch threshold. or maybe you 
   can help me to do that with code. I have not been successful with the below.
 * Thanks!
 *     ```wp-block-code
       jQuery(document).ready(function($) {$(".slick-slider").not('.slick-initialized').slick({touchThreshold: 100,});console.log($('.slick-slider').slick('getSlick').options); // Log the settings});
       ```
   
    -  This topic was modified 1 year, 7 months ago by [dreist](https://wordpress.org/support/users/dreist/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Kadim Gültekin](https://wordpress.org/support/users/arkenon/)
 * (@arkenon)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/touch-threshold/#post-18106622)
 * Hi,
 * Try the template below:
 *     ```wp-block-code
       (function ($) {    $(".gb-for-slick-slider, .wp-block-gb-for-slick-slider-slick-slider")    .not('.slick-initialized')    .slick({      //Your code is here   });})(window.jQuery);
       ```
   
 * Thanks for your interest.
 *  Thread Starter [dreist](https://wordpress.org/support/users/dreist/)
 * (@dreist)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/touch-threshold/#post-18107196)
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Touch threshold’ is closed to new replies.

 * ![](https://ps.w.org/gutenberg-block-for-slick-slider/assets/icon-256x256.png?
   rev=2838354)
 * [Simple Slider Block - Create Sliders From Core Blocks](https://wordpress.org/plugins/gutenberg-block-for-slick-slider/)
 * [Support Threads](https://wordpress.org/support/plugin/gutenberg-block-for-slick-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/gutenberg-block-for-slick-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gutenberg-block-for-slick-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gutenberg-block-for-slick-slider/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [dreist](https://wordpress.org/support/users/dreist/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/touch-threshold/#post-18107196)
 * Status: resolved