# Portal.getWorldA

Returns the world of a portal opening A.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
portal:getWorldA(  )
```

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

**Availability:** Server only

**Parameters:**

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

**Returns:**

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