sm.challenge.takePicture

Takes a picture of the challenge level with a custom resolution.

Kind: Function

Environments: Game

Game

sm.challenge.takePicture( width, height, rotation )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
width integer Preview width.
height integer Preview height.
rotation integer Rotation step.