# ScriptableObject.getWorld

Returns the world of a scriptable object.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
scriptableObject:getWorld(  )
```

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

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `scriptableObject` | [ScriptableObject](../Game-Script-Environment/Userdata/ScriptableObject.md) | The scriptable object. |

**Returns:**

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