why i cant change camera's location when i rendering movies?

I use method “unreal.SequencerTools.render_movie” to render several movies. I want to change the camera’s location, so that I can get different movies. But the result is that all the movie are the same, and it is all the perspective under the first location. Here is the code. (UE5 python api)

get_actor_by_name('viewcamera')
camera_location = pos_list[i]
camera.set_actor_location(camera_location, sweep=False, teleport=True)
global on_finished_callback
on_finished_callback = unreal.OnRenderMovieStopped(
    lambda s: render(pos_list, i + 1, starttime, sequence_name, j))
unreal.SequencerTools.render_movie(capture_settings, on_finished_callback)
1 Like

it seems that the result movies are all the same perspective that i set in the level_sequence. So the question has changed to how can i change the camera’s transform in the sequence by UE5 python api. pls help me.