# World.loadCellWithHandle

Load a cell. The cell will stay loaded until the cell is released with [LoadCellHandle](../Game-Script-Environment/Userdata/LoadCellHandle.md).release()

**Kind:** Function

**Environments:** Game

## Game

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

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

or when the [LoadCellHandle](../Game-Script-Environment/Userdata/LoadCellHandle.md) is garbage collected

**Parameters:**

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

**Returns:**

| Type | Description |
| --- | --- |
| [LoadCellHandle](../Game-Script-Environment/Userdata/LoadCellHandle.md) | Handle to releasing cell. |
