Calculation and visualization
A pinned knight still guards a square
A pinned piece still attacks squares for king safety. Your king cannot move onto a square attacked by that piece, even if it could not legally move there.
Worked example
Position in text
White to move. White: king c5, pawn h2, rook e1. Black: king e8, knight e7, pawn h7, rook b5.
FEN: 4k3/4n2p/8/1rK5/8/8/7P/4R3 w - - 0 1
White is checked by Rb5. Kc6 would leave the rook’s checking line, but the pinned Ne7 attacks c6. The pin prevents the knight from moving off the e-file; it does not make c6 a legal king destination. Kd4 is a legal response.
A plausible mistake
Do not remove a pinned knight from the opponent’s attack map. Separate “could make this move” from “attacks this square.”
Try it yourself
Position in text
White to move. White: king f4, pawn h2, rook e1. Black: king e8, knight e7, pawn h7, rook a4.
FEN: 4k3/4n2p/8/8/r4K2/8/7P/4R3 w - - 0 1
In response to the rook check, can White play Kf5? Compare it with Kg3.
Check your answer
Kf5 is illegal because the pinned e7 knight attacks f5. Kg3 leaves the rook’s line and is not attacked. Under FIDE Articles 3.1.3 and 3.9.1 the pin does not cancel that attack.