In the creation of an opera or ballet , a scenario is often developed initially to indicate how the original source , if any , is to be adapted . In the creation of an opera or ballet , a scenario is often developed initially to indicate how the original source , if any , is to be adapted and to summarize the aspects of character , staging , plot , etc. that can be expanded later in a fully developed libretto , or script .