FANDOM


Map.BlockOrientation EnumerationEdit

This enumeration is used to define the direction a block is facing. When creating a block, each "face" of the block is assigned to a specific direction.

MembersEdit

Member name Description
North The block is facing north from an overhead perspective
East The block is facing east from an overhead perspective

South

The block is facing south from an overhead perspective

West

The block is facing west from an overhead perspective 

ExampleEdit

local map = self.gameObject:GetComponent ("MapRenderer"):GetMap()

map:SetBlockAt (0, 0, 0, 0, Map.BlockOrientation.North)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.