# World.loadCell

Load a cell for player. The cell will stay loaded until the player steps into the cell.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
world:loadCell( x, y, player, callback?, params?, ref? )
```

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

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `world` | [World](../Game-Script-Environment/Userdata/World.md) | The world. |
| `x` | integer | Cell X position. |
| `y` | integer | Cell Y Position. |
| `player` | [Player](../Game-Script-Environment/Userdata/Player.md) | A player to load for, can be nil. |
| `callback` *(optional)* | string | Lua function to call when cell is loaded. Callback parameters are ( world, x, y, player, params ) |
| `params` *(optional)* | any | Parameter object passed to the callback. |
| `ref` *(optional)* | ref | Script ref to callback object. |
