| Name | <PlayerTag.target[(<matcher>)]> |
| Returns | EntityTag |
| Description | Returns the entity that the player is looking at, within a maximum range of 50 blocks,
or null if the player is not looking at an entity. Optionally, specify an entity type matcher to only count matches as possible targets. |
| Generated Example | |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L778 |