Take a pictures

Hi guys!
I'm going to take a picture when the layer output of the 3D printer is finished.
I am using the Ender 3 Neo printer.
I'm going to take a picture of the top. But the camera interferes.
So when I'm done outputting each layer, I'm looking for a way to move the bed forward as much as possible, shoot it, and then resume output.
By any chance, does the octoprint or slicer program have this function?

The plugin Octolapse should do what you want.

Thank you sir