How to get multiple instances of an actor to work correctly on stage.

Hello!
I’m new to the engine, so my question may seem simple, but I really can’t figure out how to solve the problem. I created a lever using Blueprints, which changes its animation when a button is pressed. However, when I place multiple copies of this lever on the stage, only the last one is triggered.
Initially, it had more complex logic, and I thought that was the problem. So I deleted it and started experimenting with animation playback and text printing, but the result remained the same. Then I started setting other events like “begin play” and “begin overlap” and everything worked as it should.
Perhaps the problem is related to the input action? How can I solve this problem? Chat GPT suggested using the Blueprint Interface, which I wanted to use anyway to communicate between the lever and the line trace in the player’s Blueprint. But will this really help solve the problem of multiple levers on stage? If so, how do I do this? I will be very grateful for your help!

1 Like

When you place more than one copy of a blueprint in a level, like this, only one of them can take the input by default, unless you untick consume input on the input node

I think you’ll find they all fire after that, which is why people often use an overlap box to know which one they are near.

Another method is to use a line trace, and send the message to execute to a specific one.

Yes, this is one of most common topics:

https://www.youtube.com/results?search_query=ue5+interface+interact+

Thank you very much. I figured there was a similar check mark somewhere, but I couldn’t find it myself, and I couldn’t make a proper Internet request either)

1 Like

Thank you!