Controlling mouse x&u

Is there a method of controlling the mouse x and y positions using a webcam tracking a colour?

Have tried the colour tracker outputs x and y, going into a mouse patch, but this would not allow for x&y values to be input to.

Want to do this as it makes life much easier then having to code a hit test and various other things in flash, than having the x&y outputs of the colour tracker into a few cons then inputs, and converting the values to positions then inputting to the flash renderer.

hi I think that the blocks that you have to use is cursor, I attach you an example.

muove mouse 3.v4p (13.1 kB)
webcam colori .v4p (35.7 kB)