ObjectCastingInfo
Returns the casting and channeling spell of a WowGameObject
.
ObjectCastingInfo(--[[(1)]]objectReference) : number[] | false
- See Object Reference for more information on possible values.
Example
Get the players casting spell.
local casting, channeling = ObjectCastingInfo('player')