When you keep one foot planted and move the other foot.
no unless you are pivoting
Pivoting is moving the hips, shifting your weight, and turning WITHOUT lifting up your pivot foot.
If you mean OUTSIDE the basketball, then no. If you mean INSIDE the basketball, then yes.
Pivoting your foot after your swing.
National Basketball Association