Penpot plugins API
    Preparing search index...

    Interface Interaction

    Penpot allows you to prototype interactions by connecting boards, which can act as screens.

    interface Interaction {
        shape?: Shape;
        trigger: Trigger;
        delay?: number | null;
        action: Action;
        remove(): void;
    }
    Index

    Properties

    Methods

    Properties

    shape?: Shape

    The shape that owns the interaction

    trigger: Trigger

    The user action that will start the interaction.

    delay?: number | null

    Time in milliseconds after the action will happen. Only applies to after-delay triggers.

    action: Action

    The action that will execute after the trigger happens.

    Methods

    • Removes the interaction

      Returns void