{{newin|[[0.7.0]]|070|type=function}}
Gets the direction of the Source.
== Function ==
=== Synopsis ===
<source lang="lua">
x, y, z = Source:getDirection( )
</source>
=== Arguments ===
None.
=== Returns ===
{{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.}}
== See Also ==
* [[parent::Source]]
[[Category:Functions]]
{{#set:Description=Gets the direction of the Source.}}
== Other Languages ==
{{i18n|Source:getDirection}}