In addition to being able to modify entity.pos.x or y, you can modify entity.pos as a whole.
Simpler entity.pos documentation in README.