To do this, the lens is built into a square holder suspended by four wire springs.
Then, around the edge of the holder, wire is wrapped to form an electromagnet. As electrical current is fed to this electromagnet, it will be pulled upward toward the iron "pole pieces" to its left and right.
The trick is to figure out when we need the lens to move up and down - and how much it should move!