Skip to content

AvatarsOptions

Options of engine.avatars.

optional alpha?: number

0–1 for every avatar (below 1 each is composited as one layer).


optional tags?: boolean | ((player) => string | null | undefined)

Name tags: a player’s tag (null or ‘’ for none), or true for the player numbers. Default none.


optional tagHeight?: number

The tags’ height, stage units (default 34).


optional tagFont?: string

The tags’ CSS font family (default Nunito).