NICCO890
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 339 |
|
|
| 21 Feb 2016 02:35 AM |
How does one move a part with the player's mouse? For example, when you click and hold the part, you can drag the part as it follows the mouse until your release it.
Momma said I could be anything. |
|
|
| Report Abuse |
|
|
| 21 Feb 2016 04:01 AM |
You will need:
UserInputService A loop (e.g something like "repeat wait() MovePart(Part ,Mouse) until MouseUp")
TIP: Place the part inside your character, so you don't need any raycasting to ignore the part you're moving, so it's easier to move it with the mouse. |
|
|
| Report Abuse |
|