This is a problem with the alignment of the patella (the bone at the front of the knee, commonly called the "kneecap"). With this disorder, the patella shifts out of its normal track as you bend or extend your knee.

-A +A