rigidbody constraints

How can i programmatically clear all the rigid body constraints on a array of objects on the screen?
I am using javascript.

Use a for loop on your array and clear the constraints (e.g. RigidbodyConstraints.FreezeNone).

Sorry, I’m not writing your code for you.