In-game tools · function

addComponentCommand

Explained in In-game tools.

function addComponentCommand(world: InspectableWorld, entities: readonly number[], component: string): Command | null
import { addComponentCommand } from '@driftengine/tools';

Parameters

ParameterTypeDescription
worldInspectableWorld
entitiesreadonly number[]
componentstring