Castling can be achieved only when there aren't any pieces involving the king as well as rook you might transfer. The king and rook can't have moved Beforehand. You can't castle In case your king is in Verify or if doing this would transfer your king through or to your square where by he can be in Check out. Thanks! We're happy this was beneficial.