SpellCastInfo
Defined in: server/api.d.ts:5873
Where a defined spell’s cast was aimed, as its caster reported it.
Properties
Section titled “Properties”aimYaw
Section titled “aimYaw”
readonlyaimYaw:number
Defined in: server/api.d.ts:5877
World yaw in degrees the cast was aimed along (the caster’s camera); the caster’s facing when the client sent none.
target
Section titled “target”
readonlytarget:SpellCastTarget|null
Defined in: server/api.d.ts:5887
What the game aimed the cast at, as the caster reported it: null when nothing, or a target the server dropped (an entity it doesn’t know, or farther than 80 m from the caster).
readonlywand:Vector3
Defined in: server/api.d.ts:5882
The caster’s wand tip as the cast began; the caster’s position when the client sent none or one more than 5 m away.