Camila November 17th, 2015 Can you see the lines and gray balls?I need to paint the ball and the line with the same color as the ball pair, when connecting is correct.
The colored ball will be a question and the gray will be the answer. When the right question find the right answer, they have to be with the same color.

Gio November 18th, 2015 Hi
Assuming you are following this tutorial, that should be quite easy because the draw function of those dots is just looking at the color property of the sprite object. So something like this should work:
dotSprite.color = 'red';dotSprite.setDirtyArea();
setDirtyArea is just used to tell WADE that the sprite has changed, and it needs to redraw it.