Jump to content
Sign in to follow this  
jimmer

Pixel Color Problem?

Recommended Posts

Hello, I was just wondering if I could make a certain action activate once a pixel meets a certain point?

Say.... the color X meets a certain area of x and y. could it be done, so it triggers an action such as Send("")

Share this post


Link to post
Share on other sites

something like this ?

$pixelcolor = 16777251
$i = 0

$xpos = 400
$ypos = 200

while $i = 0

if ($pixelcolor == PixelGetColor($xpos,$ypos)
   
  ;do something
   
   $i = 1
endif

wend

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...