title: Obstacle detection
body: <p>I use createjs for development.
  My game has a character and element in the middle.
  The element in the middle is an obstacle.
  How to determine that there is an obstacle in front of the player?
  The fact is that if you click on the place that is behind the object, the character will fly this object.</p>