# NPC:SetMyPos

##### Description:

Function NPC:SetMyPos set the position of the NPC.

Function NPC:SetMyPos was added in 0.3a and will not work in earlier versions! |

##### Parameters:

(Float:x, Float:y, Float:z)

float | X | The X coordinate to put the NPC at. |

float | Y | The Y coordinate to put the NPC at. |

float | Z | The Z coordinate to put the NPC at. |

##### Return Values:

This function does not return any specific values.

##### Examples:

SetMyPos(0.0, 0.0, 3.0);

##### Related Functions

*The following functions may be useful, as they are related to this function in one way or another.*

- NPC:GetMyPos: Get the NPC's current position.
- NPC:GetDistanceFromMeToPoint: Get the distance between the NPC and a point.