This function can just as well be defined outside E2Lib.setPos.