# Portal.setBToAMarkerAllowed

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

**Kind:** Function

**Environments:** Game

## Game

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

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

**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 |
