Using Director > Navigation and User Interaction > Jumping to locations with Lingo > Jumping away and returning to the original location |  |

Jumping away and returning to the original location

You may want a movie to jump to a different frame or a separate movie and then return to the original frame. For example, at a Web site that describes the weather, you could jump to a movie segment that explains a weather term, and then return to the original location.

To jump away and return to the original location:

Use the `play` and `play done` commands.

The `play` command branches a movie to another frame, another movie, or a specified frame in another movie. The `play done` command remembers the original frame and returns to it without requiring that you specify where to return.

Use the `play` and `play done` commands in these situations:

| When the movie you want to play does not have instructions about where to return.
| When you want to play several movies sequentially from a single script. When one movie finishes, Lingo returns to the script that issued the `play` command.
| When you want to put one sequence inside another sequence and easily return to where you were in the outer sequence.
| When you want to jump to one loop from several different locations.

See `play` and `play done`.