.. _record:

.. index::
   pair: menu item; Record
   pair: command line option; record
   pair: command; record

Record animation
================

**Syntax**:(record bool [ file ])

e Toggle recording to a XaoS animation file (\*.xaf). This file is
human-readable, and can easily be improved by hand after recording. See the
:ref:`format description <format>` for more information.

From the scripting language, (record #t) enables recording, and (record #f)
disables it.

**Available as**: menu item, command line option, command
