I have been able to use spatial analyst to draw least-cost path but would like insert a rule. For an animal to travel they must come across a cell with a low enough cost within 25 cells or the path must be re-drawn. For example, as the least-cost path is draw every 25 cells must have a cost value of less than 10. This means depending on the path even if a cell is too costly it can still be traversed if the another cell in the path is less than 10. So it is conditional and a cell is not always flagged as impassible. Can this be done? Thanks in advance.