Unit:GetLocation
this function is a member of Unit this method expects an implicit “self” argument. invoke it with
:
Usage
| UI | Script | Returns | Function | Arguments |
|---|---|---|---|---|
| ✓ | ✓ | UnitLocation [table] | Unit:GetLocation |
Notes
The function returns a table with two indices: x, and y.