> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nmentities.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Spawning Where You Look

Spawns a registered mob on the block you are looking at, the way a spawn egg would place it.

## Usage

```text theme={null}
/nme spawnlook <mob> [scale]
```

**Alias:** `sl` **Permission:** `nmentities.spawnlook` **Player-only:** yes

## Arguments

| Argument | Required | Description                                                                |
| :------- | :------- | :------------------------------------------------------------------------- |
| `mob`    | ✅        | A registered mob id. Autocompletes to registered mobs only.                |
| `scale`  | ❌        | Size multiplier from `0.0625` to `16.0`. Multiplies the mob's own `scale`. |

## Examples

```text theme={null}
/nme spawnlook toast
/nme spawnlook toast_king 2.0
```

## Why it exists

This is the third of the three "where": [`spawn`](spawn) puts one on you, [`spawnat`](spawnat) puts one at coordinates, and this one puts one where you point.

It exists mostly for **custom items**. A plugin like Nexo runs an item's commands on right-click as the player, but hands the command no way to say *which block* was clicked. A ray-trace from the player's eyes at that moment lands on exactly that block — so a right-click-to-summon item works without either plugin knowing about the other.

## Notes

* The reach is the player's own `block_interaction_range` attribute, not a fixed number, so creative mode, an attribute modifier or another plugin all move it correctly. An item that summons on right-click must not become one that summons across the map because the player happened to be facing the horizon.
* If nothing is in reach the command says so and names the distance it tried, rather than silently doing nothing.
* The mob lands against the **face that was hit**, in the open space beside the block rather than inside it — the same placement a spawn egg makes.
