Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Ray2D.direction

Switch to Manual
public var direction: Vector2;

Description

The direction of the ray in world space.

See Also: origin.