# Dir 4E

### Signature

```c
void dir_4e(float posX, float posY, float posZ); //id:0x004e
```

### Description

Does the same as the [dir](https://xeavin.gitbook.io/the-insurgents-handbook/scripts/vm-call-targets/dir "mention") function, but with this one, the character turns towards a target position instead.

### Arguments

#### Position X

The position on the x-axis.

#### Position Y

The position on the y-axis.

#### Position Z

The position on the z-axis.

## Notes

{% hint style="warning" %}
Depending on an unknown type of the character, either position y or z will be set to `0`.
{% endhint %}
