Skip to content

setUIVisible

setUIVisible(world, entity, visible): void

Defined in: ui/core/compose.ts:200

Toggle visibility of a UI entity via UIVisual.enabled. Safe if the entity has no UIVisual — no-op in that case.

World

number

boolean

void