Facing (Expression) — Skript

Addon: Skript · Category: Expression · Since: 1.4

Syntax

[the] (horizontal|) facing of %livingentities/blocks%

Description

The facing of an entity or block, i.e. exactly north, south, east, west, up or down (unlike <a href='#ExprDirection'>direction</a> which is the exact direction, e.g. '0.5 south and 0.7 east')

Examples

# makes a bridge
loop blocks from the block below the player in the horizontal facing of the player:
	set loop-block to cobblestone

View source