How to set HingeJoint2D's Anchor Via Script?

Hi, im trying to set Achor’s Coordinates via script , but i can’t.
Here is my code.

var otherBody = gameObject.Find ("Sphere1");
GetComponent(HingeJoint2D).connectedBody = otherBody.rigidbody2D;

I can’t find it in documentation
Thanks.

Hi.
You can set like this :

GameObject.Find("ObjectName").GetComponent().connectedAnchor = new Vector2(x, y);