I wondered we're auto correct was in processsing, i've never used it for this purpose so thanks for the advice!
its not flagging any errors now though, but its not controllling the mouse at all sigh, sorry half the mistakes are because ive been programming for over 12 hours now, no excuse though!
which value is the boolean in your code? as mouseX is a float built in.
this is the simple function to follow one of my hands, * by 3.5 allows me to reach the whole of one side of the screen thats why im trying to get this ability to swap hands!
void swaphands(){
mouseX = int(convertedLeftHand.x * 3.5);
mouseY = int(convertedLeftHand.y * 3.5);
robby.mouseMove(mouseX, mouseY);
}
Im stopping for tonight but when ive slept, i'll go over the code again in the morning, il probably have loads hanging off the screen but thanks for the help so far its been of great value!