Name | Look |
Syntax | look (<entity>|...) [<location>/cancel/yaw:<yaw> pitch:<pitch>] (duration:<duration>) |
Short Description | Causes the NPC or other entity to look at a target location. |
Full Description | Makes the entity look towards the location.
You can specify either a target location, or a yaw and pitch. Can be used on players. If a duration is set, the entity cannot look away from the location until the duration has expired. Use the cancel argument to end the duration earlier. |
Related Tags | <LocationTag.yaw> Returns the normalized yaw of the object at the location.
<LocationTag.pitch> Returns the pitch of the object at the location.
|
Usage Example |
|
Usage Example |
|
Synonyms (Search Aid) | turn, face |
Group | entity |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/entity/LookCommand.java#L33 |