Docs


Screenshot control

Each World has a screenshot to represent it. This screenshot is collected during a run.

On the World page, you will see an action "Update image" to generate the image. You can run this any number of times and position the camera until you get the screenshot you want.

 

AB.screenshotStep  = 50;   
  
	// Take screenshot on this step. (All resources should have finished loading.)  

AB.uploadPicture();	

	// Type this in console to take screenshot manually.
	// (During an "Update image" run.)

AB.isScreenshotRun();                // is this a run that generates a screenshot