isHide

open fun isHide(@NotNull player: @NotNull PlatformPlayer): Boolean

Checks if the model is hidden from a specific player.


if (pipeline.isHide(player)) {
    // model is hidden for this player
}

Return

true if hidden, false otherwise

Since

1.15.2

Parameters

player

the player to check

Throws