Setting private tiles using the websocket api

Hi.

I know you can set impassable tiles via the websocket api, but can you do the same for private tiles?

Thanks
Mark

Yep, its called game.setMapSpaces, and takes a mapId and array of spaces.

Spaces are objects: {spaceId: string, x: number, y: number, colored: boolean}

2 Likes

Yet again thanks @Bill_Uncork-It for coming to the rescue.