Portal.transferAToB
Transfers objects inside A opening to B opening
Kind: Function
Environments: Game
Game
portal:transferAToB( 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. |