Let's say I have two electromagnets and they are resting on a flat surface. For simplicity, let's just say they won't be lifted from the surface. Their size or current doesn't matter. They are not touching, but they are some distance apart.
Would there be a way to set the current on each magnet, relative to the other, such that it would be hard to move either magnet closer or further away from the other? For example, it would be easy to make one magnet move in a circle around the other. but not in a line toward or away from the other.
Does this make sense, and if so, is this physically possible? If it's not possible, would it be possible to use an outside force to accomplish this?