# Portal.setAToBMarkerAllowed

Set if transfer from A to B is allowed, used for marker placements

**Kind:** Function

**Environments:** Game

## Game

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

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

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `portal` | [Portal](../Game-Script-Environment/Userdata/Portal.md) | The portal to edit |
| `allowed` | boolean | Whether the portal is allowed to show A to B connection |
