I need to write some code that will enable the user to trace (using the mouse) over a shape (that I supply on the stage)–giving them feedback (like painting over the shape in a different color) and I need the mouse movements to determine whether or not they have traced (or are tracing) the shape correctly. Is this possible? Has anyone seen any tutorials that might help me accomplish this?
So say I provide a square (but the real shapes will be more complicated than that). I need the user to be able to trace with their mouse, the outline of the square. If they don’t do it correctly, then I need it to reset and they have to try again. So I’d have to change the color of the square/paint over it as they move the mouse correctly and reset the color if they make a mistake. This is for a school project and any help you can offer would be great!
My thanks in advance for any advice.