Simulation beginner help

Hi

Are following things possible as simulation in kicad and how to do it?

For example close a switch and see the result:

click one of the links to see visual simulation: https://www.falstad.com/pong/

I can not really find documentation on what is possible regarding simulation in kicad.

KiCad uses ngspice, so look for ngspice documentation, e.g. Ngspice, the open source Spice circuit simulator - Documentation: manual and control flow

KiCad does not (yet) give direct visual feedback such as shown with the LED in that example.

In the KiCad Nightly version (Expected to become KiCad V8 in February 2024) the interface with ngSpice has been improved. It can for example directly show voltage levels of the operating points.