getLastMovement

fun getLastMovement(type: CameraEventType, modifier: KeyboardEventModifier? = definedExternally): Any?(source)

Gets the start and end position of the last move event (not the aggregated event).

Return

An object with two Cartesian2 properties: startPosition and endPosition or undefined.

Parameters

type

The camera event type.

modifier

The keyboard modifier.

See also