Text this: Two-coordinate electromagnetic sensor