# getRayDirection()

# Example

Please move the camera around for these examples:



# Description

Gets the direction that camera / ray is looking at. This can be helpful to add interaction based off the camera position.

# Syntax

getRayDirection();

# Returns

Vec3: direction the camera is pointing.