The 2D layer · function

insertText

Explained in Sprites and tilemaps.

function insertText(model: TextModel, s: string): void
import { insertText } from '@driftengine/ui2d';

Parameters

ParameterTypeDescription
modelTextModel
sstring