Toddler running off

Emily

How do you teach a toddler to stay with you outside/in public? I have a very fast wild child who will be just under 2.5yo when baby#2 is born. I'm feeling so much anxiety about her not staying with me, especially in parking lots. She also does not like holding hands for more than a few seconds. I'm not above using a toddler leash if I absolutely need to, but I want her to learn listening and safety skills.