Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / components / Selectable

Class: Selectable ​

Defined in: components/Selectable.ts:9

Toggles whether the editor selection system can pick this entity. When enabled is false, the entity is excluded from raycast hit tests.

Extends ​

Constructors ​

Constructor ​

ts
new Selectable(enabled?): Selectable;

Defined in: components/Selectable.ts:13

Parameters ​

ParameterTypeDefault value
enabledbooleantrue

Returns ​

Selectable

Overrides ​

Component.constructor

Properties ​

PropertyTypeDescriptionDefined in
enabledbooleanWhen false, the editor selection raycaster ignores this entity.components/Selectable.ts:11