Source:getDirection

Returns the direction vector of the Source (the direction it's playing in).

x, y, z = Source:getDirection()

Arguments

None

Returns

NameTypeDescription
xnumberThe x component of the direction vector.
ynumberThe y component of the direction vector.
znumberThe z component of the direction vector.

See also