Stop in for a cup of coffee

Adjustable how?
To move about 1” back and forth in a slot. Square nut. I will figure it out.