isInPoint
open fun isInPoint(@NotNull player: @NotNull PlatformLocation, @NotNull target: @NotNull PlatformLocation): Boolean
Checks if a target entity is directly in the player's crosshair (point of view).
Return
true if the target is in the player's point of view
Since
2.0.0
Parameters
player
the player's location
target
the target entity's location