Author |
Message |
RykanV
|
Posted: Tue Jun 05, 2018 3:32 pm Post subject: Click Image or Box To Function As Button |
|
|
Is It Possible To Click An Image or Box To Function As Button Instead Of Using The GUI One's? |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Insectoid
![](http://compsci.ca/v3/uploads/user_avatars/13760332514cbd0ce972eaa.jpg)
|
Posted: Wed Jun 06, 2018 7:26 am Post subject: RE:Click Image or Box To Function As Button |
|
|
Yup. The Mouse.Where command will tell you where the mouse is and what the mouse button is doing. With a little bit of math you can determine if it's on your box or not. |
|
|
|
|
![](images/spacer.gif) |
zacice
|
Posted: Wed Jun 06, 2018 10:08 pm Post subject: Re: Click Image or Box To Function As Button |
|
|
Can this be done with a Circle? |
|
|
|
|
![](images/spacer.gif) |
RykanV
|
Posted: Wed Jun 06, 2018 10:19 pm Post subject: Re: Click Image or Box To Function As Button |
|
|
Oh Okay Thank You
And Yes It Should Be Possible To This With A Circle, As This Commands Just Checks Whether Or Not Your Mouse Is Over A Certain Point. |
|
|
|
|
![](images/spacer.gif) |
|