ESP32 has a lot of capabilities, and one of them is touch sensing.
Pinout Diagram
As per the ESP32 Pinout diagram, we can see there are touch sensitive pins named as Touch0, Touch2, Touch3, Touch4, Touch5, Touch6, Touch7, Touch8, and Touch9.
We can use any of those pins for this