MMLClickEvent extendsRemoteEvent

Received when a user clicks on a 3D object.

detailisReadonly

detail: { position: Position connectionId: number }

Type declaration

  • position:  
  • { x: number y: number z: number }

The position of the click relative to the element's origin

  • connectionId:  
  • number

The unique numeric id of the connection that sent the event.

typeisReadonly

Returns the type of event, e.g. "click", "hashchange", or "submit".

Literal: click

Examples

Clicked by

Position