Number of interactions assigned to a single button

Depending on the system, there are cases where pressing a button—such as “OK”—requires the destination to change based on the selection state of other elements on the screen.
Currently, it appears that Penpot allows only one interaction to be defined per element.
Consequently, after designing multiple screens in Penpot, I have to go through a cumbersome process: converting the screen list and defined interactions into Mermaid via MCP, drawing the connections representing those interactions within Mermaid, and then having AI generate the code.
Since AI is capable of recognizing Penpot interactions, if it became possible to define multiple interactions per element and add comments (such as conditional statements) to them, the need to use Mermaid as an intermediary step would be eliminated.

Is this already possible?
If not, I would appreciate it if you could consider adding this functionality.

Finally, I would like to express my gratitude for providing such excellent software.

1 Like

I confirmed that it is possible to add multiple interactions to a single shape on the prototype screen, even though only one of them remains active in the view mode; this isn’t a major issue for my workflow.
However, I would ideally like to attach descriptions to each interaction and have them read by the MCP to be reflected in the program.
Unfortunately, there doesn’t seem to be a built-in feature for adding comments to interactions, so I decided to develop a plugin.
By collaborating with AI, I was able to build the plugin in about half a day. I plan to use it for a while, and if there are no issues, I will apply to publish it on the Plugins page.

2 Likes

I’m very curious about how you have used AI to build your plugin so quickly :slight_smile:
Did you use skills or agents to make it so easy?