Capture from Play
While Play in Editor runs, the panel’s Capture button reads Capture from Play. It saves the lighting of the running game as a new scenario: the lighting your Blueprints, your scenario volumes, your sky system or your transitions have made, at that moment.
Actor and level names map back to the editor level, so Apply on that scenario in the editor gives you the game lighting. Capture a moment of the game you like, stop Play, and keep it.
The same category buttons, tags and options apply as for an editor capture. See The Scenarios page.

From Python
Section titled “From Python”sub = unreal.get_editor_subsystem(unreal.TALamplighterEditorSubsystem)if sub.is_playing(): sub.create_scenario_from_play("FromPlay", unreal.TALamplighterCaptureOptions(), "")