Click and hold the top of the spring to pull it and let go to see it go back and forth! Press E to toggle the slider, which you can use to change the spring strength.
Simple test project :) You can use this to make animations and stuff if you change the code a bit! Maybe even into a game.