Jump to content

Recommended Posts

Posted

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?

Posted

Hint:

IsPressed (check if left/right mouse key is pressed)

+

If true, compare mouse coordinates to area you are interested in.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...