Phaser API Documentation

  Version: 
Filter
Namespace: Sprite
Phaser.Types.GameObjects.Sprite

Type Definitions

SpriteConfig
Focus
Focus
Properties:
name type arguments description
key string | Phaser.Textures.Texture <optional>

The key, or instance of the Texture this Game Object will use to render with, as stored in the Texture Manager.

frame string | number <optional>

An optional frame from the Texture this Game Object is rendering with.

Type:
object
Focus
Focus