Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions docs/command/meglook.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
sidebar_custom_props:
description: Causes the model look at a location.
---

# `meglook`

```js
meglook [entity:<entity>] [<location>/pitch:<pitch>/head_yaw:<yaw>/body_yaw:<yaw>]
```

Makes the model look towards the location.
Similar to the [Denizen look command](https://meta.denizenscript.com/Docs/Commands/look).

## Arguments

| Argument | Input | Required | Default | Description |
| ------------ | ----------------- | -------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------- |
| entity | EntityTag | yes | | The entity that should look. |

The following arguments are mutually exclusive; select one of them:

| Argument | Input | Required | Default | Description |
| ------------ | ----------------- | -------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------- |
| location | LocationTag | yes (if not using pitch/yaw) | | The location to look at. |
| pitch | ElementTag | yes (if not using location) | | The pitch to look with. |
| head_yaw | ElementTag | yes (if not using location) | | The head yaw to look with. |
| body_yaw | ElementTag | yes (if not using location) | | The body yaw to look with. |

## See Also

- Command: [`look`](https://meta.denizenscript.com/Docs/Commands/look)