Help with macro: check the defined area color

Hello! How do I have a color match as a trigger, so if a predefined pixel/area of the window turns to color_x, send keystrokes, mouse clicks, etc. Repeat.
Thanks a lot in advance.

There is no such trigger. Watching the screen is quite CPU intensive, so it would not be viable as a trigger.

You can use a Pause Until action with a Pixel condition.

Thanks! Checking it out