I want to draw an invisible path that the user must follow. I’ve stored that path as points. When a player draws a line, how can I test if it follows the path I’ve stored?
Here’s an example for tracing the letter A.
if((traitSprite.getX()<=Invisible.X && traitSprite.getX()>=Invisible.X )){...}
(traitSprite
is a sprite.)