# Is it possible to pass electric current through magnet without affecting it?

Suppose we have a row of $5$ electromagnets, with a copper wire connecting them. Is it possible to create magnetic field in the $4^{th}$ magnet without affecting the $1^{st}$,$2^{nd}$,$3^{rd}$ and $5^{th}$ magnet by passing electric current through the copper wire. Any suggestions will be appreciated.