canSee
open fun canSee(@NotNull player: @NotNull PlatformLocation, @NotNull target: @NotNull PlatformLocation): Boolean
Checks if a player can see a target entity based on sight tracing configuration.
Return
true if the target is visible, false otherwise
Since
2.0.0
Parameters
player
the player's location
target
the target entity's location