Returns the the screen coordinates associated with this world coordinates. Pass fine coordinates if you want to accurately track a moving 3D position like a character's head.
the coordinates to retrun screen coordinates for
a Vector2 containing the screen coordinates of the given FineCoord
-- Get the screen position above the character's headlocal currentCoord = osrs.ClientOp.coord()local playerCoord = currentCoord.getFineCoordinate()playerCoord.y = playerCoord.y - 192local screenCoord = osrs.Graphics.worldToScreenCoord(playerCoord) Copy
-- Get the screen position above the character's headlocal currentCoord = osrs.ClientOp.coord()local playerCoord = currentCoord.getFineCoordinate()playerCoord.y = playerCoord.y - 192local screenCoord = osrs.Graphics.worldToScreenCoord(playerCoord)
Returns the the screen coordinates associated with this world coordinates. Pass fine coordinates if you want to accurately track a moving 3D position like a character's head.