onMouseDown method

void onMouseDown(
  1. dynamic event
)

Implementation

void onMouseDown( event ) {
	if (clickMove) {
		switch ( event.button ) {
			case 0: this.moveForward = true; break;
			case 2: this.moveBackward = true; break;
		}
	}
}