# sm.world.getCurrentWorld

Get the world that the scripted object is in.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.world.getCurrentWorld(  )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.world.md#getcurrentworld)

**Returns:**

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