setrbxclipboard

Copies a value to the internal Studio clipboard.

Syntax

setrbxclipboard(value: any) -> ()

Parameters

ParameterTypeDescription
valueanyValue to convert with Luau's tostring and copy

Returns

This function does not return a value.

Example

setrbxclipboard("Text for the Studio clipboard")

Notes

  • This is distinct from the operating-system clipboard used by setclipboard
  • Non-string values use the same tostring conversion as setclipboard