phaser - v4.0.0-rc.4
    Preparing search index...

    Interface IMouseConstraintDefinition

    interface IMouseConstraintDefinition {
        body?: MatterJS.BodyType;
        collisionFilter?: MatterJS.ICollisionFilter;
        constraint?: MatterJS.ConstraintType;
        type?: string;
    }
    Index

    Properties

    The Body that is currently being moved by the user, or null if no body.

    null
    
    collisionFilter?: MatterJS.ICollisionFilter

    An Object that specifies the collision filter properties. The collision filter allows the user to define which types of body this mouse constraint can interact with. See body.collisionFilter for more information.

    The Constraint object that is used to move the body during interaction.

    type?: string

    A String denoting the type of object.

    "constraint"