Hold the pen loosely between your thumb and middle finger
Rest the pen on the side of your index finger
Use a quick flick of your ring finger or middle finger to start the spin
Let the pen roll around your thumb
Catch the pen again between your thumb and middle finger
Keep your hand relaxed
Practice slowly at first
Repeat until the motion feels smooth
