Text this: Finding a worm's internal compass