Yuari
Documentation
Docs/Input/gethwid

gethwid

Returns the executor hardware id.

Syntax

gethwid() -> string

Parameters

This function takes no parameters.

Returns

TypeDescription
stringThe executor hardware id

Description

gethwid is part of the Input library. Input helpers either read the current OS input state or synthesize OS-level events. Some game interactions also require the Roblox window to be focused.

The call is read-only: it resolves the current value when invoked and does not change the underlying state.

The aliases get_hwid(), GetHWID() resolve to the same implementation.

Example

print(gethwid())
print(get_hwid())
print(GetHWID())

Notes

  • Aliases: get_hwid(), GetHWID().
  • Synthetic input may be ignored by games that validate input origins.