Is Hand Raised (Condition) — Skript

Addon: Skript · Category: Condition · Since: 2.8.0

Syntax

%livingentities%'[s] [main] hand[s] (is|are) raised

Description

Checks whether an entity has one or both of their hands raised. Hands are raised when an entity is using an item (eg: blocking, drawing a bow, eating).

Examples

on damage of player:
	if victim's main hand is raised:
		drop player's tool at player
		set player's tool to air

View source