Skip to content

World Portals ​

To hop between worlds you can use objects as portals to open new scenes. Examples of this might be a door which opens a new world or a text link. When the object which used is clicked, the world is opened.

js
let portal = WorldPortal(object, worldID)

You can also spawn a portal without an object, which by default shows a hovering plane with the world's name:

js
let defaultPortal = WorldPortal(null, worldID, worldName, iconMaterial)