In-game tools · function

emptyPanel

Replace a panel's contents with one line saying why there is nothing.

Explained in In-game tools.

function emptyPanel(root: UiNode, message: string): void
import { emptyPanel } from '@driftengine/tools';

Parameters

ParameterTypeDescription
rootUiNode
messagestring

In depth

Not interactive, because a message is not a control and a person who clicks it and gets a selection has learnt something untrue about the panel.