How to draw circle on mouse click?

Hello everyone,
I am a beginner using Cesium for one of my project. I am trying to provide a tool to draw multiple circles using mouse clicks. I went through this particular reference ohttps://sandcastle.cesium.com/?src=Circles%20and%20Ellipses.html&label=Geometries, which can be used to display the circle through pre-defined points or the center and the radius.
What are the other references to focus on in order to draw the circle on the map as and when required or dynamically?

Some details will depend on where exactly the circles should be drawn. There are a few examples that could contain helpful snippets:

  • Cesium Sandcastle Shows how picking works in general. You can pick the surface of the ellipsoid, or points of a model…
  • Cesium Sandcastle shows how to draw polygons on terrain with mouse clicks, including some basic interaction patterns for drawing/creating entities with mouse clicks