Yuari
Documentation
Docs/Miscellaneous/setwindowicon

setwindowicon

Loads an icon from the Yuari workspace and applies it to the Roblox window; an empty string resets it.

Syntax

setwindowicon(path?: string) -> nil

Parameters

ParameterTypeDescription
path?stringA path inside the Yuari workspace.

Returns

TypeDescription
nilThis function does not return a value.

Description

setwindowicon is part of the Miscellaneous library. Miscellaneous helpers cover module identity, scheduler settings, teleport queueing and other process-level utilities.

The change is applied directly to the live target, so later reads observe the updated value.

Example

setwindowicon("images/icon.ico")
setwindowicon("")

Notes

  • Some settings affect the module globally rather than the current script.