Gazebo Render Control

Hi, I have a project with sometimes long compile durations, so I need to control the rendering of gazebo. For example, I have a drone doing some stuff and sometimes I have to stop the simulation until I got the necessary information from other scripts that tells the drone where to go. How can I achieve this step by step simulation in Gazebo and which version should I use?