I have ALevelScriptActor to handle level logic. Ex create NPC and interactive object. So naturally I need to bind action, I use InputComponent to bind left mouse action. No matter how I can, Left mouse event is always received by my playerController. My player controller also bind left mouse action for movement. How do u guy solve this issue. Thanks.
The functionality of InputComponent is managed by the player controller, so you wouldn’t be able to check for input in another class; however, you can have the ALevelScriptActor contain a bool that checks if a button is held or not in the player controller class.