GuiInterface.compassSetIconWorldPosition

Sets the world position for a world gui

Kind: Function

Environments: Game

Game

guiInterface:compassSetIconWorldPosition( iconName, worldPosition, world )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
compassHud GuiInterface The compass hud GUI.
iconName string Name of a compass icon.
worldPosition Vec3 The position to set.
world (optional) World The world, defaults to same as the script