# Operator

class Operators.Operator()

Properties

- `onActivate`

- `onDeactivate`

- `onKeyDown`

- `onKeyUp`

- `onMouseDown`

- `onMouseMove`

- `onMouseUp`

- `onMousewheel`

- `onTouchEnd`

- `onTouchMove`

- `onTouchStart`

- `onViewOrientationChange`

- `stopInteraction`

## Properties

Operator.onActivate
  Type

    function optional

  Operator.onActivate()
    Return type

      void | Promise <void>

Operator.onDeactivate
  Type

    function optional

  Operator.onDeactivate()
    Return type

      void | Promise <void>

Operator.onKeyDown
  Type

    function optional

  Operator.onKeyDown(event)
    Arguments

      - event (`KeyInputEvent()`) – None

    Return type

      void | Promise <void>

Operator.onKeyUp
  Type

    function optional

  Operator.onKeyUp(event)
    Arguments

      - event (`KeyInputEvent()`) – None

    Return type

      void | Promise <void>

Operator.onMouseDown
  Type

    function optional

  Operator.onMouseDown(event)
    Arguments

      - event (`MouseInputEvent()`) – None

    Return type

      void | Promise <void>

Operator.onMouseMove
  Type

    function optional

  Operator.onMouseMove(event)
    Arguments

      - event (`MouseInputEvent()`) – None

    Return type

      void | Promise <void>

Operator.onMouseUp
  Type

    function optional

  Operator.onMouseUp(event)
    Arguments

      - event (`MouseInputEvent()`) – None

    Return type

      void | Promise <void>

Operator.onMousewheel
  Type

    function optional

  Operator.onMousewheel(event)
    Arguments

      - event (`MouseWheelInputEvent()`) – None

    Return type

      void | Promise <void>

Operator.onTouchEnd
  Type

    function optional

  Operator.onTouchEnd(event)
    Arguments

      - event (`TouchInputEvent()`) – None

    Return type

      void | Promise <void>

Operator.onTouchMove
  Type

    function optional

  Operator.onTouchMove(event)
    Arguments

      - event (`TouchInputEvent()`) – None

    Return type

      void | Promise <void>

Operator.onTouchStart
  Type

    function optional

  Operator.onTouchStart(event)
    Arguments

      - event (`TouchInputEvent()`) – None

    Return type

      void | Promise <void>

Operator.onViewOrientationChange
  Type

    function optional

  Operator.onViewOrientationChange()
    Return type

      void | Promise <void>

Operator.stopInteraction
  Type

    function optional

  Stops an operator from interacting with the scene.

  Operator.stopInteraction()
    Return type

      void | Promise <void>