dexxa Posted March 25, 2005 Share Posted March 25, 2005 i think we have the ispressed functino to dectect if a key is pressed. is there a isclicked function to detect if an area of pixel is clicked. wut i mean is like lets say i make a gui with a picture in it. if i click on the picture, the program would know that i did and do other stuff, like highlight the picture or something. is this possible? if yes how do i do it? Link to comment Share on other sites More sharing options...
tuape Posted March 25, 2005 Share Posted March 25, 2005 Hint: IsPressed (check if left/right mouse key is pressed) + If true, compare mouse coordinates to area you are interested in. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now