{{newin|[[0.7.0]]|070|type=function}}
Sets the direction vector of the Source. A zero vector makes the source non-directional.
== Function ==
=== Synopsis ===
<source lang="lua">
Source:setDirection( x, y, z )
</source>
=== Arguments ===
{{param|number|x|The X part of the direction vector.}}
{{param|number|y|The Y part of the direction vector.}}
{{param|number|z|The Z part of the direction vector.}}
=== Returns ===
Nothing.
== See Also ==
* [[parent::Source]]
[[Category:Functions]]
{{#set:Description=Sets the direction of the Source.}}
== Other Languages ==
{{i18n|Source:setDirection}}