# Interactable.hasOutputType

Returns true if the [Interactable](../Game-Script-Environment/Userdata/Interactable.md) has the output type.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
interactable:hasOutputType( flags )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/Interactable.md#hasoutputtype)

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `interactable` | [Interactable](../Game-Script-Environment/Userdata/Interactable.md) | The interactable. |
| `flags` | integer | The output type. |

**Returns:**

| Type | Description |
| --- | --- |
| boolean | Has the output type. |
