I wan´t to paint lines on the screen with the cursor as pencil (imagine painting with Paint).
I wan´t to draw pressing the mouse left button.
I´ve created a canvas actor, but if I paint with Mousekey event, only paints a dot, not a line, and if I paint with ondraw event, it paints anytime.
How can I do this?
Thank you.