Phaser API Documentation

  Version: 
setFrame([frame])

Description:

Sets the frame this Emitter Manager will use to render with.

The Frame has to belong to the current Texture being used.

It can be either a string or an index.

Parameters:

name type arguments description
frame string | number <optional>

The name or index of the frame within the Texture.

Returns:
Description:

This Emitter Manager.

Examples: