Why is magnetic flux scalar

Why is magnetic flux scalar

Magnetic flux is scalar, but it can be divided into positive and negative. The positive and negative of magnetic flux does not represent the size, but only reflects how the magnetic flux passes through a certain plane. If the magnetic flux passing through a certain plane inward is positive, it will be negative outward