nanos world API Reference Unofficial documentation
Static function Client Moderate

Viewport.DeprojectScreenToWorld

Transforms a 2D screen coordinates into 3D world-space location

Syntax

Lua
Viewport.DeprojectScreenToWorld(screen_position)

Parameters

Name Type Default Description
screen_position Vector2D Screen position

Returns