GuiInterface.setHost

Sets a Character as host for a world gui

Kind: Function

Environments: Game

Game

Overload 1

guiInterface:setHost( character, joint )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
gui GuiInterface The Gui interface
character Character The character to host the gui
joint (optional) string The joint (Optional)

Overload 2

guiInterface:setHost( shape, joint )

Open the full Game reference

Availability: Client only

Sets a Shape as host for a world gui

Parameters:

Name Type Description
gui GuiInterface The Gui interface
shape Shape The shape to host the gui
joint (optional) string The joint (Optional)