ker/mod/interact.js
function (pointer, event, eventTarget, curEventTarget, matches, matchElements) {
            var target = this.target;

            if (!this.prepared.name && this.mouse) {

                var action;

                // update pointer coords for defaultActionChecker to use
                this.setEventXY(this.curCoords, [pointer]);

                if (matches) {
                    action = this.validateSelector(pointer, event, matches, matchElements);
                }
                else if (target) {
                    action = validateAction(target.getAction(this.pointers[0], event, this, this.element), this.target);
                }

                if (target && target.options.styleCursor) {
                    if (action) {
                        target._doc.documentElement.style.cursor = getActionCursor(action);
                    }
                    else {
                        target._doc.documentElement.style.cursor = '';
                    }
                }
            }
            else if (this.prepared.name) {
                this.checkAndPreventDefault(event, target, this.element);
            }
        }
function (pointer, event, eventTarget, curEventTarget, matches, matchElements) {
            var target = this.target;

            if (!this.prepared.name && this.mouse) {

                var action;

                // update pointer coords for defaultActionChecker to use
                this.setEventXY(this.curCoords, [pointer]);

                if (matches) {
                    action = this.validateSelector(pointer, event, matches, matchElements);
                }
                else if (target) {
                    action = validateAction(target.getAction(this.pointers[0], event, this, this.element), this.target);
                }

                if (target && target.options.styleCursor) {
                    if (action) {
                        target._doc.documentElement.style.cursor = getActionCursor(action);
                    }
                    else {
                        target._doc.documentElement.style.cursor = '';
                    }
                }
            }
            else if (this.prepared.name) {
                this.checkAndPreventDefault(event, target, this.element);
            }
        }
function ( pointer , event , eventTarget , curEventTarget , matches , matchElements ) { var target = this . target ; if ( ! this . prepared . name && this . mouse ) { var action ; // update pointer coords for defaultActionChecker to use this . setEventXY ( this . curCoords , [ pointer ] ) ; if ( matches ) { action = this . validateSelector ( pointer , event , matches , matchElements ) ; } else if ( target ) { action = validateAction ( target . getAction ( this . pointers [ 0 ] , event , this , this . element ) , this . target ) ; } if ( target && target . options . styleCursor ) { if ( action ) { target . _doc . documentElement . style . cursor = getActionCursor ( action ) ; } else { target . _doc . documentElement . style . cursor = '' ; } } } else if ( this . prepared . name ) { this . checkAndPreventDefault ( event , target , this . element ) ; } }
Check what action would be performed on pointerMove target if a mouse button were pressed and change the cursor accordingly
Check what action would be performed on pointerMove target if a mouse button were pressed and change the cursor accordingly