Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

What's the point of having two parameters in Humanoid:MoveTo?

Humanoid:MoveTo(Vector3 location, Part part) seems pointless to have the part parameter when the only thing anyone really cares about telling the humanoid to do is to walk to that point. The most common usage of this method has the location as the position of a character's Torso, and the part being that torso. If the wiki description "Causes the character of the humanoid to walk to the location" is 100% accurate then the second parameter is absolutely pointless and serves no function in the method at all - it may as well not even be referenced in the method's function itself. What's the point?

1 comment

0

I've wondered this as well. I don't even think that it has a function.

1 answer

It is useless indeed. Probably it served some ancient function, but now there is no need for it. Gonna ask admins about removing it.

2 comments

0

This may have just been a better question for the dev boards anyway.

0

I already started topic on developer feature requests.

This discussion is preserved as it was. New answers, comments, and votes are closed.