Wire sensor, different reactions

Hi, I would like to make a wire sensitive to touch, to light up leds when you touch it. Is there a way to divide this wire in areas, so that when you touch it in the middle, it is another reaction than on the end? I was thinking at using this Standalone Toggle Capacitive Touch Sensor Breakout [AT42QT1012] : ID 1375 : $5.95 : Adafruit Industries, Unique & fun DIY electronics and kits (Standalone Toggle Capacitive Touch Sensor Breakout - AT42QT1012)

Thanks a lot !

I can't say I definitively know the answer to this one but I do have some general comments.

Connecting a wire from analog pin A0 can be enough to detect values from a person - but the values will wander all over the place. Even connecting a high value resistor from 5v to A0 to give it some sort of stabilisation still will not give you the accuracy you need here, I think.

Creating a potential divider network of resistors along a wire with various points connected to ground via other resistors (eg trying to get 5v, 4v, 3v, 2v, 1v etc) would work fine with a constant 5v input but not from just the vague resistance/capacitance of your hand!

Perhaps a description of what you are trying to achieve (other than lighting up LEDs from a wire) rather than a question about a potential solution will elicit further responses? Or perhaps others will have further suggestions anyway :relaxed:

Thanks a lot for your answer !

I am a student and my project is about sensitive masks. I would like to light up leds all over the mask in different ways according to the place of the face one touches. I would like to have this sensitivity through a wire or conductive threat sewn on the fabric. And I will definitely use the capacitive sensor library.