Is Riding (Condition) — Skript

Addon: Skript · Category: Condition · Since: 2.0, 2.11 (entities)

Syntax

%entities% (is|are) riding [%-entitydatas/entities%]

Description

Tests whether an entity is riding any entity, a specific entity type, or a specific entity.

Examples

if player is riding:
if player is riding an entity:
if player is riding a saddled pig:
if player is riding last spawned horse:

View source