Drag the block to stretch or compress the spring, then release to start.

Spring energy simulation stage

Low High