Phaser API Documentation

  Version: 

Member of: Phaser.Core.Config

<constant, nullable> context: CanvasRenderingContext2D | WebGLRenderingContext

Description:

Force Phaser to use your own Canvas context instead of creating one.

Type:
CanvasRenderingContext2D | WebGLRenderingContext
Since: 3.0.0
Source: src/core/Config.js (Line 151)