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
| Parameter | Type | Description |
|---|---|---|
path? | string | A path inside the Yuari workspace. |
Returns
| Type | Description |
|---|---|
nil | This 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.