Skip to content

client.WorldToScreen s1

Projects a 3D world position onto the 2D screen.

Syntax

client.WorldToScreen(pos)

Parameters

posVector3
World-space position to project.

Returns

The on-screen x, y coordinates (returns nil when the point is behind the camera).