This section describes various use cases and how to apply the SGScript C API to achieve the expected results.