|
| 14 Oct 2013 05:38 PM |
| How would I use GetMouse in a plugin? I know my way around plugins, but I've only used GUIs for them. How would I implement the :GetMouse() function to return the client mouse? |
|
|
| Report Abuse |
|
|
MHebes
|
  |
| Joined: 04 Jan 2013 |
| Total Posts: 2278 |
|
|
| 14 Oct 2013 05:43 PM |
| Use the method on the plugin itself. |
|
|
| Report Abuse |
|
|
08C
|
  |
| Joined: 26 Jan 2013 |
| Total Posts: 847 |
|
| |
|
|
| 15 Oct 2013 09:38 AM |
| Ok. I already tried that, and it doesn't return the mouse. |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2013 09:44 AM |
Nevermind.
But how would you return an item you've selected? Such as select it by the Drag tool, then use the plugin and return the item's position? |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2013 10:00 AM |
Im too lazy to reply, so take a look at this plugin i made, and see how i get the mouse.
pastebin dot com/XzS0zXRu |
|
|
| Report Abuse |
|
|
| |
|
|
| 15 Oct 2013 10:02 AM |
Site*
Auto correct is annoying me >_> |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2013 03:08 PM |
| game:GetService("Selection"):Get() --returns table, add [1] just to return the first object, or use the mouses target |
|
|
| Report Abuse |
|
|