A solenoid is a type of electromagnet, the purpose of which is to generate a controlled magnetic field through a coil wound into a tightly packed helix. The coil can be arranged to produce a uniform magnetic field in a volume of space when an electric current is passed through it.
Solenoids are used in virtual pinball cabinet to create noise by hitting a surface. The Solenoids are controlled by a controller such as the Pinscapee , Ledwiz or pacdrive using DOF. You will want to use a push type of solenoid and not a pull type.