Command video guide
PixelFind
PixelFind searches screen pixels for selected colors. It can return one location or several results, optionally tap them, and save coordinates. This Overview explains the options without running a script. It uses color values, not image assets.
Drag PixelFind from Capture. Use In chooses This Script Only or Script Thread for saved output variables. Color accepts six hexadecimal digits without a number sign, or an earlier Hex variable. The square picker samples one screen color.
Multi Color exposes additional rows, up to twenty colors. Plus adds a row; the row red X removes that specific color. The hand capture tool collects multiple samples in one visit and replaces the list with those samples in selected order. Classify uses that color order.
Confidence OFF requires an exact color. ON accepts a percentage from 1–100, or an earlier Integer variable. At 100 the match is exact; lower values allow greater variation. The fresh ON field shows 90. Area restricts the search to a rectangle; its selector and manual top-left/bottom-right coordinates are alternative ways to define that region. Keep it small and relevant.
The Find1st / FindAll switch changes the search strategy. Find1st stops at the first matching pixel. Its left/right and top/bottom switches control scan direction; the result is not automatically a shape center. FindAll collects up to Max Results, from 1–4096 or an earlier Integer value. Fill this limit before playing.
In FindAll, Midpoints groups connected matching pixels and returns rounded component centers. Without it, matching pixels are individual candidates. Ignore Radius suppresses additional accepted points near an earlier one; zero means none. With Midpoints enabled, the radius is applied to component centers.
Tap Target is optional. Center taps returned match positions. Set Coordinates uses fixed X/Y, earlier Integer variables, or a selected screen target. FindAll with Center can tap each returned result; a fixed target is tapped once. Leave Tap Target OFF for a read-only search.
Set Variables exposes typed destinations. Find1st uses a Boolean scalar for found status and Integer scalar X/Y coordinates, such as b1, x1 and y1. FindAll Standard uses aligned Boolean and Integer X/Y arrays. Arrays use one-letter destinations such as b, x and y; later commands address slots such as x1 and y1. Unused slots are false or zero. Allocated array capacity is not the number of matches.
FindAll Classify replaces the Boolean array with an Integer Pixel Index array, alongside aligned Integer X/Y arrays. Index 1 identifies the first listed color, 2 the second; zero means an unused slot. Keep the same slot across index, X and Y when consuming a result.
Changing Find1st/FindAll or Standard/Classify clears the outgoing mode-specific output fields. Choose the final mode, then enter and verify destinations. Use distinctive sampled colors and test on the target device: backgrounds, animation and display differences can affect matching. This tour cancels its draft without saving or playing.
Overview
Step-by-step guide
Step 01 PixelFind looks for specified colors on the screen. It can locate one matching pixel or collect several results, optionally tap them, and save coordinates for later commands. Unlike image matching, it needs color values rather than an image asset. This overview explains the options without playing a script.
Step 02 Drag PixelFind from Capture into the script, then open the placed row. Start with the color to look for, restrict the search area, and choose whether you need the first result or all results.
Step 03 Use In selects the scope of the output variables. This Script Only keeps results local. Script Thread allows related scripts in the same thread to use them. Choose the scope that matches the later commands consuming these results.
Step 04 Color accepts a six-digit hexadecimal color without the number sign, or a Hex variable written earlier. The square beside the field opens a screen color picker. Sampling the actual screen is usually easier than guessing its color value.
Step 05 Turn Multi Color on to manage several target colors. The plus button adds a color row, up to twenty colors. Each row has its own color picker. Remove an unwanted row with its red X; this removes that color, not the whole command.
Step 06 The hand capture button lets you collect several screen samples in one visit. Saving that selection replaces the color list with the chosen samples in their selected order. This order matters later if you use Classify output to identify which color matched.
Step 07 Confidence off requires an exact color match. Turn it on to allow a match at the chosen confidence percentage. One hundred still requires an exact match; lower values allow more variation. Start strict and loosen it only as needed, because common colors can produce unrelated matches.
Step 08 Area limits where PixelFind searches. Use its selector to choose a rectangle, or open the coordinate fields for precise values. A small, relevant area makes the search more specific and avoids matching the same color elsewhere on the screen.
Step 09 Find Mode offers Find First and Find All. Find First stops at the first matching pixel in the selected scan direction. Find All collects matching results up to your result limit. They share the colors and search area, but expose different search and output controls.
Step 10 In Find First, the two direction switches choose left to right or right to left, and top to bottom or bottom to top. They decide which matching pixel is encountered first. This is not automatically the center of a colored shape.
Step 11 Tap Target is optional. Leave it off when you only need to find a color or save its location. Turn it on to perform a tap after a successful match. Center uses the returned match location, rather than an unrelated fixed screen position.
Step 12 Choose a fixed X and Y when the match should trigger a tap somewhere else. You can enter coordinates, use earlier Integer variables, or select the target on screen. In Find All, a fixed target is tapped once, while Center can tap each returned result. Turn tapping off for a read-only search.
Step 13 Set Variables lets later commands use the result. In Find First, Boolean reports whether a match was found, while Integer X and Y hold its coordinates. Enter destination names such as b1, x1 and y1, using the matching variable types. These are scalar destinations, not array letters.
Step 14 Switch Find Mode to Find All. This mode is useful when several matching locations matter. Its Max Results limits how many results can be returned, from one to four thousand ninety-six. You can also supply an earlier Integer variable. Fill this limit before playing the command.
Step 15 Midpoints groups connected matching pixels and returns the rounded center of each group. This can turn a solid colored region into one useful target instead of many neighboring pixels. Turn it off when you want individual matching pixels rather than region centers.
Step 16 Ignore Radius suppresses additional results close to a point already accepted. Use it to avoid several nearby targets from the same feature. Zero means no distance suppression. With Midpoints on, the radius is applied to the returned region centers. It does not change the search rectangle.
Step 17 With Set Variables on, Find All offers Standard and Classify outputs. Standard stores aligned arrays: Boolean marks valid result slots, while the X and Y Integer arrays store matching coordinates. Slot one in each array describes the same result, and so on. Unused slots are false or zero.
Step 18 Array destinations use one letter, such as x, y and b. Later commands address individual slots, such as x1 and y1. Do not treat the array's allocated capacity as the number of matches. Use valid result slots, and keep X and Y from the same slot together.
Step 19 Choose Classify when you need to know which listed color matched. It replaces the Boolean array with an Integer Pixel Index array, alongside the aligned X and Y arrays. One means the first listed color, two means the second, and zero marks an unused slot.
Step 20 Changing Find First versus Find All, or Standard versus Classify, resets the output fields belonging to the outgoing mode. Choose the final mode before filling destinations, then check the visible fields. PixelFind can search and save results without performing a tap.
Step 21 For reliable matching, pick a distinctive color from the real screen, keep the search area tight, and test on the device where the script will run. Background changes, animations and display differences can affect colors. Use a separate practical guide to see the shortest working setup and its result.
Step 22 This was an option tour, so close without saving the draft or playing the script. Use Find First for one location, Find All Standard for several locations, and Find All Classify when the color's identity also matters.
PixelFind can locate a screen color and tap its position automatically. This practical guide creates a new one-command script that samples green inside the Play Store icon and opens the app with Find1st.
Create and name a fresh script, then manually drag PixelFind from Capture. Keep This Script Only and Multi Color OFF. The square picker samples a six-digit color from the actual screen; it does not create an image asset. If Android asks, allow screen capture.
Confidence OFF requires an exact color. Select a tight Area around the icon so unrelated pixels elsewhere cannot match. Keep Find1st, Left to Right, Top to Bottom and Midpoints OFF. The first matching pixel is chosen by scan order, not by the center of the whole icon.
Enable Tap Target and retain Center to tap the returned match location. Optionally enable Set Variables: b1 stores the Boolean found status, and Integer x1/y1 store its coordinates for later commands. No supporting command is needed for the automatic tap.
Save, close the editor, and start with the icon visible inside the selected region. Use Play in the main overlay: the matched tap opens Play Store, and the script stops automatically. Test on the target device because icon position and display colors can change. The Overview explains the other settings.
Intro & Find First
Step-by-step guide
Step 01 PixelFind can locate a screen color and tap its position automatically. In this example, we'll sample green inside the Play Store icon, limit the search to that icon, and use Find First to open the app.
Step 02 Open Scripts, create a new script, and pick a name. We'll build this example from scratch, using just one PixelFind command.
Step 03 Expand Capture and drag PixelFind into the script. Then open the placed command to configure it.
Step 04 Keep Use In set to This Script Only, and leave Multi Color off. We only need one target color in this example.
Step 05 Open the square color picker. If Android asks, allow screen capture. Drag the sampling square onto green inside the Play Store icon, then save the selection. This captures a color value, not an image asset.
Step 06 Leave Confidence off for an exact color match. If the screen colors vary on your device, Confidence can allow some variation, as explained in the Overview.
Step 07 Open Area and drag the corners around the Play Store icon. A small search region avoids unrelated pixels of the same color elsewhere. Save the area when the icon is inside it.
Step 08 Keep Find First, Left to Right, and Top to Bottom. PixelFind stops at the first matching pixel in that scan order. Leave Midpoints off: we want a matching pixel, not the center of a connected region.
Step 09 Turn Tap Target on and leave it set to Center. Here, Center means the returned match location. Since that pixel is inside the icon, tapping it will open Play Store.
Step 10 Set Variables is optional, but useful for later commands. Turn it on and enter b1 for the Boolean found status, and x1 and y1 for the Integer coordinates. These save the result; no extra command is needed to perform our tap.
Step 11 Save the command and close the editor. Start from the home screen with the same icon visible inside the selected search area.
Step 12 When the script is complete, simply use the Play button in the main overlay.
Step 13 PixelFind finds the green pixel and taps its location, opening Play Store. The script stops automatically. Test your own setup on the device where it will run, because icon position and display colors can change.
Find All collects several matching locations. Standard output stores aligned Boolean, X and Y arrays for later commands. This example finds separate white details inside the ScriptTap launcher icon, without tapping them.
Make a new duplicate of Intro & Find First, rename it PixelFind All, and preserve the original. The Intro shows the original manual PixelFind drag. Change Color to FEFDFD, keep Multi Color OFF, enable Confidence 90, and use the native manual Area fields: Left 62, Top 399, Right 119, Bottom 448. These are example-device coordinates; choose the corresponding area on your target device.
Select Find All, turn Tap Target OFF, enable Midpoints, keep Ignore Radius 0, and set Max Results 8. Midpoints groups connected matching pixels and returns rounded region centers. The result limit is not the number actually found. Keep Set Variables ON → Standard; enter single array letters b for valid-result flags, x for X and y for Y. Matching slot numbers belong together.
Manually drag SetVariable below PixelFind. Use Single → String → s1, This Script Only, with 1=&b1 5=&b5. Ampersand references insert the current variable values into the String; the True/False result is computed, not entered as fixed text. Then manually drag Standard PromptMe after SetVariable. Use header s1, Done → d1, and no text inputs or toggles.
Play with the icon visible. The actual header is 1=True 5=False. This run found four connected white regions; slot five is unused. The result arrays were:
| Slot | Boolean b | X array | Y array |
|---|---|---|---|
| 1 | True | 72 | 418 |
| 2 | True | 77 | 407 |
| 3 | True | 77 | 417 |
| 4 | True | 77 | 428 |
| 5 | False | 0 | 0 |
Tap Done for natural completion. Use valid flags to decide which coordinates can be consumed; do not treat allocated array capacity as the match count. Use Classify when color identity also matters, and the Overview for every shared option. Test colors and coordinates on the actual target device.
Find All Standard
Step-by-step guide
Step 01 Find All collects several matching locations instead of stopping at the first one. Standard output saves aligned Boolean, X and Y arrays, so later commands can work with each valid result. We'll find the separate white details inside the ScriptTap icon and show two actual result flags.
Step 02 Make a new duplicate of the Find First example and give it a name. This keeps the original unchanged. The Intro shows how to create the original script and drag PixelFind into it.
Step 03 Open PixelFind and change Color to F E F D F D, a near-white sampled from the ScriptTap icon. Keep Multi Color off. Enable Confidence at ninety to include small color variations around these white details.
Step 04 Set Area around the ScriptTap icon, not the whole screen. Use the coordinate fields for a precise rectangle, then confirm. These coordinates belong to this example; choose the corresponding area on your own device.
Step 05 Choose Find All and turn Tap Target off. We only want to read the screen. Enable Midpoints to return the rounded center of each connected matching region, rather than many neighboring pixels from the same white detail.
Step 06 Set Max Results to eight. This is a limit, not a promise that eight matches will be found. Ignore Radius stays at zero, so no extra distance suppression is applied between the returned region centers.
Step 07 Keep Set Variables on and choose Standard output. Use b for the Boolean array, x for X coordinates, and y for Y coordinates. These destinations are single array letters. The first result uses b1, x1 and y1; the second uses slot two in each array.
Step 08 Now add a small visual confirmation. Expand Variables and drag SetVariable below PixelFind. This supporting command will format the result flags as a String; it does not perform the screen search.
Step 09 Use Single mode, String type and the name s1, with This Script Only scope. In the String value, type this short template: one equals ampersand b1, followed by five equals ampersand b5.
Step 10 An ampersand before a variable name inserts its current value into the String. We are reading the first flag and the fifth flag, not typing fixed True or False results. Save the supporting command.
Step 11 Drag PromptMe below SetVariable and open it. PromptMe will display the formatted String so we can see what PixelFind actually returned.
Step 12 Use Standard PromptMe with header s1. Use a Done button and store its response separately in d1. Leave text inputs and toggles off; we are displaying results, not asking the user to replace them.
Step 13 The complete sequence is PixelFind, SetVariable, then PromptMe. PixelFind creates the result arrays, SetVariable formats two flags, and PromptMe displays that computed text. Start with the ScriptTap icon visible in the selected area.
Step 14 When the script is complete, simply use the Play button in the main overlay.
Step 15 The first flag is True, while slot five is False. This run found four connected white regions, so slots one through four are valid and the next slot is unused. Each valid slot has its matching X and Y coordinates. Do not use the array's capacity as the number of matches.
Step 16 Tap Done to finish; the script stops automatically. Use Classify when you also need to know which target color matched. The Overview explains the remaining shared options.
Find All Classify is useful when later commands need both a matching location and the identity of its matching target color. Each result stores a one-based color-list index alongside its X and Y coordinates.
Make a new native duplicate of Find All Standard, rename it PixelFind Classify, and preserve the original. The Standard video shows the manual supporting-command drags and the three-command setup reused here. This follow-up inserts no new command.
Enable Multi-Color. Keep FEFDFD first, add one color row, and enter green 38E334 second. Index 1 now means the first color, and 2 the second. Keep Confidence 90, Area 62,399–119,448, Find All, Max Results 8, Midpoints ON, Ignore Radius 0 and Tap Target OFF. These coordinates and colors are example-device values; verify them on the actual target device.
With Set Variables ON, switch Standard → Classify before filling destinations. Enter Integer Pixel Index Array i, X array x and Y array y. Each shared slot number describes the same result. Classify stores color identity instead of the Standard Boolean valid flag.
In the supporting Single → String → s1 SetVariable command, replace the old Boolean template with 1=&i1 3=&i3, This Script Only. Ampersand references format the actual Integer values into the String. Keep Standard PromptMe with header s1, Done → d1, and no extra inputs or toggles.
Play with the icon visible. The actual prompt displays 1=1 3=2: slot one matched white and slot three matched green. These are color identities, not a match count. This run found five connected regions:
| Slot | Color index i | X | Y |
|---|---|---|---|
| 1 | 1 (white) | 72 | 418 |
| 2 | 1 (white) | 77 | 407 |
| 3 | 2 (green) | 96 | 417 |
| 4 | 1 (white) | 77 | 417 |
| 5 | 1 (white) | 77 | 428 |
| 6–8 | 0 (unused) | 0 | 0 |
Tap Done for natural completion. Choose Standard for valid-location flags, or Classify when later commands need the matching color identity. See the Overview for every shared option.
Find All Classify
Step-by-step guide
Step 01 Use Classify when finding a location is not enough: you also need to know which target color matched. Find All Classify saves a color-list index for each result, alongside its X and Y coordinates. We'll look for white and green inside the ScriptTap icon.
Step 02 Make a new duplicate of the Standard example and pick a name. Keep the original unchanged. The Standard guide shows the manual command drags and the three-command setup we'll reuse here.
Step 03 Open PixelFind and turn Multi Color on. Keep near-white as the first color. Add a second row and enter three eight E three three four for green. The list order matters: one identifies the first color, and two identifies the second.
Step 04 Keep the same tight search area, Confidence ninety, Find All, Max Results eight and Midpoints on. Leave Tap Target off. We are collecting the identities and positions of matching regions without tapping them.
Step 05 With Set Variables on, switch Standard to Classify before filling the destinations. Classify replaces the Boolean array with an Integer Pixel Index array. Use i for that array, and x and y for the aligned coordinates. Slot one in all three arrays describes the same result.
Step 06 Open the supporting SetVariable command. Keep String s1 and replace its value with one equals ampersand i1, followed by three equals ampersand i3. This formats the actual color indexes from slots one and three, rather than displaying the old Boolean flags. Save the change.
Step 07 Keep Standard PromptMe with header s1 and Done stored separately in d1. It will show the computed String from the preceding command. No extra text input or new command is needed.
Step 08 The script still contains PixelFind, SetVariable and PromptMe. Start with the icon visible inside the selected area. Only this new copy has changed; the Standard example is preserved.
Step 09 When the script is complete, simply use the Play button in the main overlay.
Step 10 The prompt shows the color-list indexes from slots one and three. One means our first color, white; two means our second color, green. These numbers identify colors, not the number of matches. Each valid index has its matching X and Y coordinates in the same slot. Zero marks an unused slot.
Step 11 Tap Done to finish; the script stops automatically. Choose Standard for valid-location flags, or Classify when later commands also need the matching color's identity.