Setting the currentangle of a hingeconstraint

hi! I am wondering how I would set the currentangle of a hingeconstraint thru’ script, I’m very lost and I have basically no idea what I’m doing. any help appreciated

CurrentAngle is a read-only property and therefore, cannot be set. It changes with relation to how far the hinge is turned, which can be done through an outward force acting upon the object it is attached to or through its servo or motor actuator types. Alternatively, you can skip all these complicated physics calculations and just set the rotation of whatever object you’re trying to rotate through cframes and its lerp method.

thank you!! I solved it by adding an impulse force to the door