# World.isIndoor

Returns true if the world is an indoor world.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
world:isIndoor(  )
```

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

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `world` | [World](../Game-Script-Environment/Userdata/World.md) | The world. |

**Returns:**

| Type | Description |
| --- | --- |
| boolean | True if indoor. |
