How to define and receive GPIO s input ESP32

Please slow down, read and follow this link: How to get the best out of this forum - Using Arduino / Project Guidance - Arduino Forum

Inputs reads sensors, pots etc. but making something involves outputs.