Skip to main content

renderer.world_to_screen

Returns the screen coordinates of a world position or nil if the world position is not visible on your screen.

renderer.world_to_screen(x: number, y: number, z: number): number, number

Arguments

NameDescriptionType
xX position in the worldnumber
yY position in the worldnumber
zZ position in the worldnumber

Returns x: number, y: number