Minecraft Command for Armorstands?

Sy
1

I'm building an adventure map where Armorstands should be used as characters. My goal is when these armor stands are spawned by command on the map and the player can interact with them. Is it possible to run a command when the player right-clicks or left-clicks on that armor? To start a communication, so to speak?

co

You can test if there's an Armor Stand with breastplate. If you take them you will delete the inventory and thus a command can be executed.