Answers.Body: <p>Yes, you can move as you've described since you haven't broken the pin, which remains in effect.  You just can't move the piece so that the king becomes exposed, which would be an illegal move.  </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-29T02:24:27.183Z
Answers.LastActivityDate: 2018-08-29T02:24:27.183Z
Answers.UserDisplayName: CConero
Answers.Body: <p>Yes, that's legal.  For example:</p>
  
  <pre><code>[FEN "6k1/6r1/8/8/8/6R1/8/6K1 w - - 0 1"]
  [SetUp "1"]
  [CurrentPosition "6k1/6r1/8/8/8/8/6R1/6K1 b - - 1 1"]
  
  1.Rg2
  </code></pre>
  
  <p>The rook can move along the g-file.  This is known as a "partial pin" - the rook is somewhat limited in its movement (and can't go to a3, for example) but it can still move if it still protects the king.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-23T04:16:05.750Z
Answers.Text: liked the board. would have used it in my question if I'd known. How do you set it up?
Answers.UserDisplayName: Dan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-23T04:21:30.247Z
Answers.Text: @Dan https://chess.meta.stackexchange.com/questions/179/how-do-i-add-a-replayer-to-my-post Basically, you put the FEN and/or PGN into a code block.
Answers.UserDisplayName: D M
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-23T03:39:05.937Z
Answers.LastActivityDate: 2018-08-23T03:39:05.937Z
Answers.UserDisplayName: D M
Body: <p>Situation: there's a piece between the king and an opponent’s piece. If this piece were not there, it would be a check.</p>
  
  <p>If I were to try and move the protecting piece somewhere and leave the king exposed, that move would be not allowed.</p>
  
  <p>Could I move this protecting piece, even though when it's lifted the king is in check, but when the piece lands, the king is protected again?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-08-23T03:11:25.663Z
Comments.Text: All that matters is that the position after you complete the move is legal. What the board looks like as you move the piece from place to place is not important. So what you describe is legal.
Comments.UserDisplayName: isaacg
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-08-23T03:36:11.013Z
Comments.Text: Is that the piece pinned with absolute pin (directly protect the king from opponent's attack)? You can't move any piece which pinned with absolute pin, otherwise it's still a legal move.
Comments.UserDisplayName: Tetsuya Yamamoto
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-08-23T15:21:13.297Z
Comments.Text: The only piece that "lifts" is the knight, all other pieces are traveling through the squares.
Comments.UserDisplayName: Ywapom
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-08-29T10:39:23.043Z
Comments.Text: The check/illegal move rule isn't very intuitive for beginners. If in doubt, play until one King is captured. If the piece moves and keeps protecting the K, the game continues. If the piece moves and fails to protect the K, your opponent takes you K and you lose.
Comments.UserDisplayName: jf328
Tags: <rules><illegal-move>
Title: Can I move a piece protecting the king if it keeps protecting on its new location?
ThreadText: # Can I move a piece protecting the king if it keeps protecting on its new location?
  
  (Asked by: username_0 on 2018-08-23)
  
  Situation: there's a piece between the king and an opponent’s piece. If this piece were not there, it would be a check.
  
  If I were to try and move the protecting piece somewhere and leave the king exposed, that move would be not allowed.
  
  Could I move this protecting piece, even though when it's lifted the king is in check, but when the piece lands, the king is protected again?
  
  **Tags:** rules, illegal-move
  
  > **Comments:**
  > **username_1**: All that matters is that the position after you complete the move is legal. What the board looks like as you move the piece from place to place is not important. So what you describe is legal.  
  > **username_2**: Is that the piece pinned with absolute pin (directly protect the king from opponent's attack)? You can't move any piece which pinned with absolute pin, otherwise it's still a legal move.  
  > **username_3**: The only piece that "lifts" is the knight, all other pieces are traveling through the squares.  
  > **username_4**: The check/illegal move rule isn't very intuitive for beginners. If in doubt, play until one King is captured. If the piece moves and keeps protecting the K, the game continues. If the piece moves and fails to protect the K, your opponent takes you K and you lose.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_6 on 2018-08-23. Score: 12 | Accepted answer
  
  Yes, that's legal. For example:
  
  ```
  [FEN "6k1/6r1/8/8/8/6R1/8/6K1 w - - 0 1"]
  [SetUp "1"]
  [CurrentPosition "6k1/6r1/8/8/8/8/6R1/6K1 b - - 1 1"]
  
  1.Rg2
  
  ```
  
  The rook can move along the g-file. This is known as a "partial pin" - the rook is somewhat limited in its movement (and can't go to a3, for example) but it can still move if it still protects the king.
  
  > **Comments:**
  > **username_0**: liked the board. would have used it in my question if I'd known. How do you set it up?  
  > **username_6**: @username_0 https://chess.meta.stackexchange.com/questions/179/how-do-i-add-a-replayer-to-my-post Basically, you put the FEN and/or PGN into a code block.  
  
  ---
  
  ### Answer by username_5 on 2018-08-29. Score: 2
  
  Yes, you can move as you've described since you haven't broken the pin, which remains in effect. You just can't move the piece so that the king becomes exposed, which would be an illegal move.
  
  
  ---
  
  