doneyes
|
  |
| Joined: 21 Mar 2008 |
| Total Posts: 3466 |
|
|
| 28 Feb 2013 04:30 PM |
| mouse.Target.Position gets the position of the brick I clicked. How do I make it give me the position that I clicked rather than the position of the brick I click? |
|
|
| Report Abuse |
|
|
jobro13
|
  |
| Joined: 05 Aug 2009 |
| Total Posts: 2865 |
|
|
| 28 Feb 2013 04:33 PM |
mouse.hit - that is what you need. However, that's a CFrame. To get the Position (vector3) of a CFrame, you do CFrame.p
So,
mouse.hit.p |
|
|
| Report Abuse |
|
|
doneyes
|
  |
| Joined: 21 Mar 2008 |
| Total Posts: 3466 |
|
|
| 28 Feb 2013 04:34 PM |
| Thank you! My scripts works perfectly now. |
|
|
| Report Abuse |
|
|