Skip to content

llWorldPosToHUD

function ll.WorldPosToHUD(world_pos: vector): vector

Returns the local position that would put the origin of a HUD object directly over world_pos as viewed by the current camera.

Parameters
world_pos (vector)
The world-frame position to project into HUD space

Add example usage here showing SLua/Luau syntax with ll.WorldPosToHUD().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.