Magnetic balls in motion