Entity (Function) — Skript

Addon: Skript · Category: Function

Syntax

entity(uuid: uuid) :: entity

Description

Returns an entity from a given UUID. If the entity is unloaded or an offline player, the function will return nothing.

Examples

set {_entity} to entity({uuid})
kill entity({uuid})
set {_type} to type of entity({uuid})

View source