Facing (Expression) — Skript

Addon: Skript · Category: Expression · Since: 1.4

Syntax

[the] (horizontal|) facing of %entities/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

set facing of player to vector from yaw 90 and pitch 0 # won't teleport the player, will just set their facing

View source