Arduino Capacitative Touch Doesn't Detect Where I Touch It

I modified the code from this tutorial: instructables.com/id/TfCD-Touch-Slide-Bar/ 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()
{
  Serial.begin(9600);
}

void loop()
{
  long total = slider.capacitiveSensor(10000);
  Serial.println(total);
  delay(100);
}

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.