I made a thingy that detects if a point is in a triangle. I tried a different way first, and it did not work, so I looked and found one that works. It is in the triangle if the
I found the solution here, provided by Ajay Anand https://stackoverflow.com/questions/2049582/how-to-determine-if-a-point-is-in-a-2d-triangle