--- title: Clipboard --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; ### lib.setClipboard Sets the player's clipboard to the specified string value. :::caution Will not work if focus is already taken by some NUI component. ::: :::caution To create a new line use `\t\n` not just `\n` in your string. ::: ```lua lib.setClipboard(value) ``` ```ts import lib from '@overextended/ox_lib/client' lib.setClipboard(value) ``` * value: `string`