# GetEnableableBits

> Gets a copy of all the Enableable bits for the specified type handle.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

## GetEnableableBits(DynamicComponentTypeHandle)

Gets a copy of all the Enableable bits for the specified type handle.

```csharp
public readonly v128 GetEnableableBits(ref DynamicComponentTypeHandle typeHandle)
```

### Parameters

**** (\[DynamicComponentTypeHandle]\(/engine/7000.0/script-reference/unity/entities/dynamiccomponenttypehandle)): A type handle for the component type whose enabled bits you want to query.

### Returns

| Type                                                                   | Description                                                   |
| ---------------------------------------------------------------------- | ------------------------------------------------------------- |
| [v128](/engine/7000.0/script-reference/unity/burst/intrinsics/v128.md) | Returns a 128-bit mask which contains a copy of the bitarray. |

## GetEnableableBits\<T>(ComponentTypeHandle\<T>)

Gets a copy of all the Enableable bits for the specified type handle.

```csharp
public readonly v128 GetEnableableBits<T>(ref ComponentTypeHandle<T> typeHandle) where T : unmanaged, IComponentData, IEnableableComponent
```

### Parameters

**** (\[ComponentTypeHandle\<T>]\(/engine/7000.0/script-reference/unity/entities/componenttypehandle1)): Type handle for the component type `T`.

### Returns

| Type                                                                   | Description                                                   |
| ---------------------------------------------------------------------- | ------------------------------------------------------------- |
| [v128](/engine/7000.0/script-reference/unity/burst/intrinsics/v128.md) | Returns a 128-bit mask which contains a copy of the bitarray. |
