title: how can I determine if a square can reach position without contact with other sprites?
body: <p><a href="https://i.stack.imgur.com/gGuY9.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gGuY9.png" alt="enter image description here" /></a></p>
  <p>From the image above, given an initial position of b0(x, y), an end position of b1(x, y) and positions a(x, y) and c(x, y). How can I predetermine if square B0 will move from b0(x, y) to b1(x, y) without getting into contact with rectangle A and C? I believe that the angle will be needed.</p>