@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 ​
| Parameter | Type | Default value |
|---|---|---|
enabled | boolean | true |
Returns ​
Selectable
Overrides ​
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
enabled | boolean | When false, the editor selection raycaster ignores this entity. | components/Selectable.ts:11 |

