Check if point is within a polygon described by a list of vertices (returns false if fewer than 3 points)
poly = [[100,50], [200,50], [250,150], [150,200], [50,150]] hit = raylib.CheckCollisionPointPoly([150, 120], poly) if hit then print "Point is inside the polygon!"
There was an error while loading. Please reload this page.