Select Page

Finally! After spending two days fidgeting around with the code and burning the whole weekend I could crack the Idea of tracking two colours at the same time time, now the big question is how??

The answer to that is is I tried repeating the same code changing the variable names but that had just too many errors but somehow over the weekend I managed to rectify them, the next challenge was to assign them different controls so thad with different actions they recognise different colours otherwise what happened was with the left click of the mouse it will detect the same colour two times but then I assigned them different controls with the “mouseButton()” and the great “if else” construct, now with left click it recognises one colour and with the right click the other colour.