Can See (Condition) — Skript

Addon: Skript · Category: Condition · Since: 2.3, 2.10 (entities)

Syntax

%entities% (is|are) [visible|invisible] for %players%

Description

Checks whether the given players can see the provided entities.

Examples

if sender can't see the player-argument:
	message "who dat?"
if the player can see the last spawned entity:
	message "hello there!"

View source