Arduino Capacitative Touch Doesn't Detect Where I Touch It

I modified the code from this tutorial: and this tutorial: Arduino Paper Controller (Buttons + Slider) - Arduino Project Hub for my copper tape slider. Here is my code:

#include <CapacitiveSensor.h>

CapacitiveSensor slider = CapacitiveSensor(10, 2);

void setup()

void loop()
  long total = slider.capacitiveSensor(10000);

It can detect my touch properly—but as I run my finger across the strip, the reading average remains the same. How can I resolve this? Thanks!

Did it not occur to you that the article you cite here specifies the use of graphite as the slider? :roll_eyes:

Do you know the difference between graphite and copper? :astonished:

Also, note that their slider has two segments and yours has only one. Try adding a second segment, at least.