title: JavaFX - How to get info on click by mouse
body: <p>I hope this is the last post I open about this.. I have tried everything but my coord on GridPane return always null and not Integer...</p>
  
  <p>This is not a thread like this, it is a specific question, so please, don't close or do other actions. I have to solve this problem.</p>
  
  <p>My actual condition:
  <a href="https://i.stack.imgur.com/37iVC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/37iVC.png" alt="Project othello"></a>
  <a href="https://i.stack.imgur.com/Ag8rz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ag8rz.png" alt="Scene Builder"></a>
  Here is my code. My question is.. Why when i click on myGrid(GridPane) it returns always 'null' ? Thank you..</p>
  
  <p><a href="https://i.stack.imgur.com/5hCrp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5hCrp.png" alt="My method clickGrid"></a>
  Here my controller in FXML:</p>
  
  <p><a href="https://i.stack.imgur.com/rGcny.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rGcny.png" alt="Controller&#39;s name"></a></p>