title: Agent that act (change a value of one variable) on patches where it is not above
body: <p>How can I write a code that permit to an agent to change a value of a variables of a patches,where the agent is not above? It is the case of a farmer, in a previous question I asked how to create the farm. Is it possible that an agent could change a variable of different patches during the same tick? thank you very much for your help.</p>
  
  <p>After 1 tick</p>
  
  <p><img src="https://i.stack.imgur.com/eJIgp.png" alt="enter image description here"></p>
  
  <p>After 30 tick</p>
  
  <p><img src="https://i.stack.imgur.com/HdsKw.png" alt="enter image description here"></p>