Jump to content
Sign in to follow this  

Execute command after color is present for "x" amount of time (help)

Recommended Posts

I need some help making a script for color detection?

I want the script to search for a color within a certain range, and area. When it finds the color, I want it to count down 9.8 seconds and if the color is still there then execute a simple command like sending a "1" or "2". The issue I'm having is when the color disappears I want the countdown to immediately reset and search for that color.

Edited by kevr0

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...