This is visualization of my problem
3 objects with different colors drop down and i need to move Brown arrow by clicking right arrow on keyboard or left arrow i tryed to make it work and i am still missing something
HotKeySet("{HOME}","start")
HotKeySet("{end}","stop")
while 1
sleep(100)
WEnd
func stop()
Exit
EndFunc
func start()
while 1
$coord = PixelSearch(402,44,506,109, 0x4B52FF, 10; 0x2B52FF, 10; 0x2G52FF, 10)
If Not @error Then
Send("{RIGHT}")
Elseif @error Then
Send("{LEFT}")
EndIf
WEnd
EndFunc
Could anyone help me a little i trying to get this work second day but it stil dont wont work :/