Jump to content
Sign in to follow this  
Guest lesswire

Is it possible to get pixelsearch of mouse?

Recommended Posts

Guest lesswire

Is there anyway to pixelsearch the mouse too?

Because everytime I try it wont pick up on the mouse.

mousegetcursor doesnt work for me because it is unkown 0.

Share this post


Link to post
Share on other sites
phillip123adams

Is there anyway to pixelsearch the mouse too?

Because everytime I try it wont pick up on the mouse.

mousegetcursor doesnt work for me because it is unkown 0.

<{POST_SNAPBACK}>

MouseGetCursor returns an integer that identifies the current cursor type. What you want is PixelGetColor, and MouseGetPos to know where the mouse is.

Phillip

Share this post


Link to post
Share on other sites
Guest lesswire

Sorry I was up for a long time when i posted that. :lmao:

What I was trying to say is if i use PixelSearch 100 pixels square around where the mouse postion is it won't search the acutal cursor, only whats under it.

I need it to search the acutal cursor because MouseGetCursor doesn't work for what I need to do because it returns 0(unknown).

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  

×