CREATE YOUR WORLD
Portal
Inter-world movement API
2min
- You can only move between Worlds that has passed the review and has been activated.
- You will not enter the secret room of the target World.
ZepetoWorldContent must be imported to use the inter-World movement API.

The function definitions are as follows:
API | Description |
---|---|
public static MoveToWorld($worldId: string, $onError: System.Action$2<number, string>):void; | - After the World ID text is set as a parameter, the inter-World movement is executed when the function is called. - If it is a World that cannot be moved to, an error occurs and can be controlled through callback in case of an error. |
Below is a code sample that moves you to another world When you enter a specific GameObject trigger.


Updated 10 Oct 2024
Did this page help you?