@minecraft/server-editor
    Preparing search index...

    Class WidgetBeta

    Index

    Properties

    bindPositionToBlockCursor: boolean

    This property can't be edited in read-only mode.

    collisionOffset: Vector3

    This property can't be edited in read-only mode.

    collisionRadius: number

    This property can't be edited in read-only mode.

    This property can throw when used.

    InvalidWidgetError

    location: Vector3

    This property can't be edited in read-only mode.

    lockPositionToSurface: boolean

    This property can't be edited in read-only mode.

    selectable: boolean

    This property can throw when used.

    InvalidWidgetError

    selected: boolean
    showBoundingBox: boolean
    showCollisionRadius: boolean
    snapToBlockLocation: boolean

    This property can't be edited in read-only mode.

    visible: boolean
    widgetName: string

    Methods

    • Beta

      Returns void

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

      This function can throw errors.

      Error

      InvalidWidgetError

      InvalidWidgetGroupError