Phaser API Documentation

  Version: 
getPlatform()

Description:

Returns the platform on which the game is currently running, i.e. IOS. It is only populated if getPlatform is in the list of supported APIs.

Returns:
Description:

The current platform.

Type:
  • string
Since: 3.13.0