Documents
chat-zones
chat-zones
Type
External
Status
Published
Created
Feb 24, 2026
Updated
Feb 24, 2026
Source
View

Working with chat#

Chat zones#

It is possible to define special regions (zones) on the map that can allow any user who is inside to access a specified chat. We call them "chat zones". When player gets inside, a new room will be added in his chat :

import ReactPlayer from 'react-player'

Adding new chat zone#

  1. Make sure you are editing an Object Layer

Object Layer

  1. Select Insert Rectangle tool

Rectangle Zone

  1. Define new object wherever you want.

Define new zone

  1. Make sure your object is of class "area" !

Define new zone

  1. Edit this new object and click on Add Property, like this :

Define new zone

  1. Add a string property of name chatName

Define new zone

  1. Make sure you defined a name for your Chat

Define new zone

  1. Add a string property of name chatDescription

Define new zone

  1. Make sure you defined a description for your Chat

Define new zone

All should be set up now and your new chat zone should be working fine!