to keep the position of the player while he collects items