mouseButtons(buttons)
    {
        if (!buttons || buttons === 'all')
        {
            this.mouse = [true, true, true]
        }
        else
        {
            this.mouse = [
                buttons.indexOf('left') === -1 ? false : true,
                buttons.indexOf('middle') === -1 ? false : true,
                buttons.indexOf('right') === -1 ? false : true
            ]
        }
    }
/**
     * initialize mousebuttons array
     * @param {string} buttons
     */
initialize mousebuttons array
@param {string} buttons
initialize mousebuttons array @param { string } buttons
mouseButtons(buttons)
    {
        if (!buttons || buttons === 'all')
        {
            this.mouse = [true, true, true]
        }
        else
        {
            this.mouse = [
                buttons.indexOf('left') === -1 ? false : true,
                buttons.indexOf('middle') === -1 ? false : true,
                buttons.indexOf('right') === -1 ? false : true
            ]
        }
    }
mouseButtons ( buttons ) { if ( ! buttons || buttons === 'all' ) { this . mouse = [ true , true , true ] } else { this . mouse = [ buttons . indexOf ( 'left' ) === - 1 ? false : true , buttons . indexOf ( 'middle' ) === - 1 ? false : true , buttons . indexOf ( 'right' ) === - 1 ? false : true ] } }
initialize mousebuttons array
 @param {string} buttons
initialize mousebuttons array @param { string } buttons