findClickedTarget
findClickedTarget(
world,raycaster):Entity|undefined
The hostile target a click’s or a tap’s ray crosses first, by its drawn bounds, nearer than the ground it hits: what the click picks.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
raycaster |
Raycaster |
Returns
Section titled “Returns”Entity | undefined