sm.portal.createPortal
Creates a new portal.
Kind: Function
Environments: Game
Game
sm.portal.createPortal( dimensions )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
dimensions |
Vec3 | The dimensions of the portal box. |
Returns:
| Type | Description |
|---|---|
| Portal | The created portal. |