|
| 09 Dec 2009 10:09 AM |
| What's the "mouse.hit.p" of a tool? I'm trying to learn tool scripting by looking through the object browser, but I don't see anything on a mouse position. |
|
|
| Report Abuse |
|
|
| |
|
|
| 09 Dec 2009 10:13 AM |
Rly? Thanks! (I feel like an idiot to not try that. >.>)
Is it still Mouse.Target though to find which brick is being highlighted by the mouse? And Activated() is the click event, right? |
|
|
| Report Abuse |
|
|
|
| 09 Dec 2009 10:15 AM |
| For a tool it's Equipped and yes, mouse.Target. |
|
|
| Report Abuse |
|
|
gombob
|
  |
| Joined: 01 May 2008 |
| Total Posts: 5215 |
|
|
| 09 Dec 2009 10:19 AM |
| You can only acces mouse in a local Script in a Tool :p |
|
|
| Report Abuse |
|
|
|
| 09 Dec 2009 10:20 AM |
| It's Equipped? Well that makes no sense to me. I assume the Equiped event is when the tool is actually equiped, and not both equipped and clicked afterwards, but I'll take your word for it. |
|
|
| Report Abuse |
|
|
|
| 09 Dec 2009 10:21 AM |
Oh thank god you told me that :D
>:(
forum:findFirstChild("Flood Check"):remove() |
|
|
| Report Abuse |
|
|
|
| 09 Dec 2009 10:23 AM |
@King
script.Parent.Equipped:connect(function(Mouse) Mouse.Move:connect(function() print(Mouse.Hit.p) end) end) |
|
|
| Report Abuse |
|
|