A simple tact button, also known as a 'push button', commonly used on Arduino boards as user/boot/reset button, 6x6 mm, breadboard friendly, pack of 10.
The KY-020 Tilt Switch Sensor module is a switch that reacts to movement. It closes the circuit when it’s tilted to the side as long as it is moved with enough force and degree of inclination to activate the ball switch inside.
The KY-017 mercury tilt switch module is a switch that responds to movement. It uses a small mercury ball that completes the circuit when the module is tilted. Compatible with many electronics platforms like Arduino, Raspberry Pi, ESP32 and others.