Unit:GetLocation

this function is a member of Unit this method expects an implicit “self” argument. invoke it with :


Usage

UIScriptReturnsFunctionArguments
UnitLocation [table]Unit:GetLocation

Notes

The function returns a table with two indices: x, and y.