Select the input events, and uncheck “Consume Input”.
Thanks! This worked!
Can I ask you why?
Hi guys,
I’ve a StaticMeshActor BP with a box collision component.
The code is:
Now if I put 3 instances of this actor in my level only one answer to the input, what am I missing?
Because actors should not be processing input. You generally want to handle it in the Player Controller / Pawn or Widgets.
If you start enabling input in actors, you’ll have a debugging nightmare to deal with very quickly.
Besides that, imagine you’ve added several instances of the Door actor to the level. If you implement ‘O’ key to Open Door in the Door Actor, all doors will open at once rather than the one you really want to interact with.
Essentially, the default setting prevents you from making mistakes that are hard to track - once input is used, it becomes consumed. You may have your reasons to overwrite this setting, of course.