We’ve been practicing having Chico walk calmly by my side when on the leash. Chico can do just fine when there are no distractions, or if I am “loaded” (having a cookie in hand rather than in the treat bag), but there’s still a long way to go.
From agility Chico knows how to follow my finger, in theory, he can also learn to stay beside me on or off the leash by learning the self control to pay attention to my finger rather than the distractions provided by the world.