ScrollbarComponent: {
    enabled: boolean;
    handleEntity: string;
    handleSize: number;
    orientation: number;
    value: number;
}

Scrollbar Component Properties.

Type declaration

  • enabled: boolean

    Whether the component is enabled.

    true
    
  • handleEntity: string

    The resource_id of the entity used as the scrollbar handle. Must have a scrollbar component.

    null
    
  • handleSize: number

    The size of the handle relative to the track size, in the range 0...1.

    0.5
    
  • orientation: number

    The scrollbar orientation: horizontal or vertical.

    0
    
  • value: number

    The current position value of the scrollbar, in the range 0...1.

    0