How to perform the mouse event in c++ code?


how to performance the mouse event left mouse button in c++ code?

In your class you must setup input using the InputComponent->BindAction(…) function to fire input events in it.

check SetupPlayerInputComponent(class UInputComponent* InputComponent)

MouseEvent is not like normal BindAction, it is a default action,should you tell me more spefic?