# MouseInputEventBase

class `Event.``MouseInputEventBase`()

  ## Index

  Accessors

  - `viewKey`

  Methods

  - `altDown`
  - `commandDown`
  - `controlDown`
  - `getDate`
  - `getEventType`
  - `getHandled`
  - `getModifiers`
  - `getPosition`
  - `setHandled`
  - `shiftDown`

## Accessors

`Event.MouseInputEventBase.``viewKey`()

  inherited

  get viewKey(): `ViewKey`

  Get the ViewKey this event is associated with.

  Returns: `ViewKey`

## Methods

`Event.MouseInputEventBase.``altDown`()
  altDown(): boolean

  gets the state of the alt key

  Returns: boolean

  > whether the alt key was down when this event was generated

`Event.MouseInputEventBase.``commandDown`()
  commandDown(): boolean

  gets the state of the command key

  Returns: boolean

  > whether the command key was down when this event was generated

`Event.MouseInputEventBase.``controlDown`()
  controlDown(): boolean

  gets the state of the control key

  Returns: boolean

  > whether the control key was down when this event was generated

`Event.MouseInputEventBase.``getDate`()

  inherited

  getDate(): Date

  Gets the Date this event occurred

  Returns: Date

  > the event Date

`Event.MouseInputEventBase.``getEventType`()
  getEventType(): `MouseInputType`

  gets the event type

  Returns: `MouseInputType`

  > the type of mouse event

`Event.MouseInputEventBase.``getHandled`()

  inherited

  getHandled(): boolean

  Gets the handled state of the event

  Returns: boolean

  > whether the event has been handled

`Event.MouseInputEventBase.``getModifiers`()
  getModifiers(): `KeyModifiers`

  gets the event modifiers

  Returns: `KeyModifiers`

  > bitwise combination of KeyModifiers

`Event.MouseInputEventBase.``getPosition`()
  getPosition(): `Point2`

  gets the window position of the mouse pointer for this event

  Returns: `Point2`

  > the mouse position for this event

`Event.MouseInputEventBase.``setHandled`()

  inherited

  setHandled(handled: boolean): void

  Sets the handled state of the event. When an event has been handled it will not propagate any further

  Parameters

  > handled: boolean

  > > Indicates whether this event has been handled.

  Returns: void

`Event.MouseInputEventBase.``shiftDown`()
  shiftDown(): boolean

  gets the state of the shift key

  Returns: boolean

  > whether the shift key was down when this event was generated

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Visualize Web or choose a sample question below to start a conversation:

What is HOOPS Visualize Web?
What are the latest release notes for HOOPS Visualize Web?
How do I start evaluating HOOPS Visualize Web?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...