Search the docs

Find a guide, global, type or member

TypeContentcontent.luau

Behavior

Ready-made block behaviour. Each adds the vanilla-style properties it needs, so a block does not declare them itself. Behaviours apply in the order listed. bed; slab (type, self-merging halves); stairs (facing, half, shape); pillar (axis, from the face placed against); fence (joins fences, gates and full faces); pane (joins panes and full faces); wall; fence_gate (facing, open, in_wall); door (facing, half, hinge, open; both halves act as one); trapdoor (facing, half, open); two_tall (a lower and upper half); rotates (faces the placer); sturdy_base (stands only on a full face and breaks when it loses it).

type Behavior = "bed" | "slab" | "stairs" | "pillar" | "fence" | "pane" | "wall"
	| "fence_gate" | "door" | "trapdoor" | "two_tall" | "rotates" | "sturdy_base"