your question appears to relate to animating 2D objects, using constraints, information for which you will find under Animation and Constraints, in the AL4_UserGuide, page 26. You select the property name from the VariableName drop down list and enter required values next.
However, as you may be wanting to animate a 3D spring object, then you will need to use, preferably, the Key Frame Editor, with the results shown in Henry and Julian's examples. Again, this is better covered in the AL4_UserGuide, IMHO.
Finally, a tip, don't forget to UNDO the scenario, after each scenario run.
I hope this helps.