PokéRogue
    Preparing search index...

    Function isLandscapeMode

    • Checks if the orientation of the scene is landscape

      Parameters

      • scene: { scale: ScaleManager }

        The scene to check (Must have a scale: Phaser.Scale.ScaleManager property)

      Returns boolean

      Whether the game is running in landscape mode (Primary or Secondary)