This is the dev documentation for an unreleased version of MPF!

This is the documentation for MPF 0.56+, which is the “dev” (next) release of MPF that is a work-in-progress. Unless you’re specifically looking for this version, you probably want to use the version of documentation called “latest” which is for the latest released version of MPF. That documentation is at docs.missionpinball.org/en/latest.

Tilt (mode)

The MPF package includes built-in tilt mode that can be used to track manage tilt warnings, tilts, and slam tilts.

The tilt mode runs at priority 10,000 and automatically starts when MPF boots up. It never stops, even running while the attract mode is running. (This is because you want it to watch for slam tilts that reset the credits even when there’s not a game in progress.)

The tilt mode can use traditional mechanical tilts (plumb bobs, weighed switches, and rolling balls), or it can use accelerometers to determine G-forces and angle of the machine which can trigger tilts.

See Tilt for details.