Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.input.screenToVector

C๐Ÿท๏ธ Input

Part of StarfallEx namespace

๐Ÿ”— External
input.screenToVector(x, y)
View on GitHub|lua/starfall/libs_sh/input.lua:330
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Translates position on player's screen to aim vector

Parameters

NameTypeDescription
xnumberX coordinate on the screen
ynumberY coordinate on the screen

Returns

TypeDescription
VectorAim vector

Examples

No examples available.

Used In

No usages found in the codebase.