|
| 14 Jul 2015 11:03 PM |
| How to detect if a player is pressing outside of a gui? |
|
|
| Report Abuse |
|
|
Zeloi
|
  |
| Joined: 27 Sep 2010 |
| Total Posts: 1143 |
|
|
| 14 Jul 2015 11:07 PM |
Math.
Or you could put an invisble button with a lower ZIndex than the GUI. |
|
|
| Report Abuse |
|
|
iiEssence
|
  |
| Joined: 18 Jun 2014 |
| Total Posts: 3467 |
|
|
| 14 Jul 2015 11:11 PM |
Mouse.X Mouse.Y
and do some magic
I don't need a siggy |
|
|
| Report Abuse |
|
|
| |
|
Zeloi
|
  |
| Joined: 27 Sep 2010 |
| Total Posts: 1143 |
|
|
| 14 Jul 2015 11:21 PM |
| Just make an invisible button sized(1, 0, 1, 0) that makes the GUI invisible(Visible = false) with a lower ZIndex than the GUI . |
|
|
| Report Abuse |
|
|
East98
|
  |
| Joined: 17 Jun 2012 |
| Total Posts: 418 |
|
|
| 15 Jul 2015 12:03 AM |
mouse.Button1Down:connect(function() print(mouse.X..", "..mouse.Y) --This prints the position on the users window of the mouse. Use math to determine if its outside the frame end)
--East98 |
|
|
| Report Abuse |
|
|