Location (Expression) — Skript
Addon: Skript · Category: Expression
Syntax
(location|position) of %location%Description
The location of a block or entity. This not only represents the x, y and z coordinates of the location but also includes the world and the direction an entity is looking (e.g. teleporting to a saved location will make the teleported entity face the same saved direction every time). Please note that the location of an entity is at it's feet, use <a href='#ExprEyeLocation'>head location</a> to get the location of the head.
Examples
set {home::%uuid of player%} to the location of the player
message "You home was set to %player's location% in %player's world%."