sm.game.getDifficulty

Return the index of the current difficulty setting.

Kind: Function

Environments: Game

Game

sm.game.getDifficulty(  )

Open the full Game reference

Returns:

Name Type Description
index integer The difficulty index.