The 2D layer · function

selectedText

Explained in Sprites and tilemaps.

function selectedText(model: TextModel): string
import { selectedText } from '@driftengine/ui2d';

Parameters

ParameterTypeDescription
modelTextModel