I think there are like 2 basic approaches.
Some guys (Chris Brooks comes to mind) sort of hard anchor and it doesnt really move. They then have to find other ways to āstring trackā like changing wrist angles or finger manipulation
Others just keep a looser āanchorā and let that anchor move more freely. I used to sort of lock more into one place but I realized it was causing me problems so now I definitely move the anchor point more freely.
āAnchorā is probably a terrible word for it lol. Im basically just lightly resting the pinky and ring finger on the guitar body below the strings
Some of your approach might also depends on what type of lick you are playing etc. If you are just going to wail on 2 strings for example, u might sort of lock into one basic āanchorā position and then use other manipulations to track the strings etc. On the other hand if you are going to do 5 string arpeggios or fast pentatonic scales then you are probably going to have to be ready to move that anchor position quickly
Peace, JJ