title: How to calculate the position and direction of the target cursor in xna?
body: <p>I developped a small games like "minecraft". and I'm stuck for a few days on the calculation of the direction of the cursor.
  Let me explain.
  I would like to target a cube with my cursor in the middle of the screen and make it disappear with a click. But I do not see any how to recover this information ..
  Can someone point me to a "sample / tutorial" or explanation please?
  Thank you very much.</p>
  
  <p>My screenShoot picture game :
  <img src="https://i.stack.imgur.com/JdbDS.jpg" alt="enter image description here"></p>