Skip to content

Commit ac3f918

Browse files
committed
Document --quit-after command line argument in Creating movies
This can be useful to safely create a "stop recording" point that is consistent across runs, without having to modify anything in the project.
1 parent 8feb04f commit ac3f918

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tutorials/animation/creating_movies.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,9 @@ Quitting Movie Maker mode
247247
-------------------------
248248

249249
To safely quit a project that is using Movie Maker mode, use the X button at the
250-
top of the window, or call ``get_tree().quit()`` in a script.
250+
top of the window, or call ``get_tree().quit()`` in a script. You can also use
251+
the ``--quit-after N`` command line argument where ``N`` is the number of frames
252+
to render before quitting.
251253

252254
Pressing :kbd:`F8` (:kbd:`Cmd + .` on macOS) or pressing :kbd:`Ctrl + C` on the
253255
terminal running Godot is **not recommended**, as it will result in an

0 commit comments

Comments
 (0)