Is Pressing Key (Condition) — Skript

Addon: Skript · Category: Condition · Since: 2.10

Syntax

%players% (is|are) pressing %inputkeys%

Description

Checks if a player is pressing a certain input key.

Examples

on player input:
	if player is pressing forward movement key:
		send "You are moving forward!"

View source