Script API - v1.21.90.25
    Preparing search index...

    A ClipboardItem is a handle to an object which represents a set of blocks in a contained bounding area (most likely copied from the world)

    Index

    Constructors

    Properties

    id: string
    isEmpty: boolean

    Return whether there is any block content in the item

    size: Vector3

    Methods

    • Returns void

      Clear the contents of the item

      This function can't be called in read-only mode.

      This function can throw errors.

    • Parameters

      Returns void

      This function can't be called in read-only mode.

      This function can throw errors.

    • Parameters

      • location: Vector3

        The root point of the world location to which the ClipboardItem is written (this is modified by the various anchor, offset and rotation parameters of the ClipboardWriteOptions

      • Optionaloptions: ClipboardWriteOptions

        An optional set of write parameters which modify the properties of the ClipboardItem as it is applied to the world

      Returns boolean

      Success or Failure

      Apply the contents of a ClipboardItem to the world at a given location using a set of write options

      This function can't be called in read-only mode.

      This function can throw errors.