ObjectBoundingRadius

Returns the bounding radius of a WowGameObject in radians.

This is the size of the object used for calculating attack range.

ObjectBoundingRadius(--[[(1)]]objectReference) : radius | false
  1. See Object Reference for more information on possible values.

Example

Get the players radius.

local radius = ObjectBoundingRadius('player')

Do something with the radius of all objects.

for i, object in ipairs(Objects()) do
local radius = ObjectBoundingRadius(object)
-- do something with radius
end