util class
util.keyToString
lua
function util.keyToString(key) endConverts a key code to its string representation.
Parameters
key: number: The key code.
Returns
- string: The key as a string.
util.setClipboard
lua
function util.setClipboard(text) endSets the clipboard content.
Parameters
text: string: The text to set in the clipboard.
Returns
- nil:
util.getClipboard
lua
function util.getClipboard() endGets the current clipboard content.
Returns
- string: The clipboard text.
Reference: util.lua