PlayerRef get_look_dir - Uberi/MineTest-API GitHub Wiki

PlayerRef:get_look_dir

Description

get camera direction as a unit vector

Syntax

[unitvector](../type/unitvector.html) get_look_dir()

Examples

local dir = player:get_look_dir()
⚠️ **GitHub.com Fallback** ⚠️