Touch (knock) sensor with Piezo
If you want to make a simple touch sensor but you dont have the fancy ones around you can also use a piezo element, which come with a lot of basic arduino starter sets.
This video explains it all.
What you need:
piezo element

breadboard

piece of paper tape
resistor 1 M ohm


piece of paper tape
some male/male jumper wires

To make the input visual, open the serial Monitor from the Tools menu.