MMLCollisionStartEvent extendsRemoteEvent

Received when a user starts colliding with an element.

detailisReadonly

detail: { position: Position connectionId: number }

Type declaration

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

The position of the collision 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: collisionstart

Examples

Multiple users

Position