Magnet: The bar magnet is a dipole source of magnetic fields. Place between one and five magnets anywhere in the simulation window. With Select depressed, you can move and rotate the magnet.

In the magnet's Properties Box, you can change the magnet's strength.