I know it is possible, to fire an event when a mouse button is pressed or release in Blueprint.(press anywhere, not on certain Actor)
But how can i do this in Script, c++?
I only know a way that is to bind input by:
virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;
But I would like input bindings to be clean. So is it possible?