Portal.transferBToA
Transfers objects inside B opening to A opening
Kind: Function
Environments: Game
Game
portal:transferBToA( filter )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
portal |
Portal | The portal. |
filter (optional) |
integer | A sm.physics.filter mask selecting which contents to transfer. Only dynamicBody, staticBody and character are meaningful. Defaults to transferring bodies and characters. (Optional) |
Returns:
| Type | Description |
|---|---|
| boolean | true if successful, false on failure. |