How to check a binded key's state with IsInputKeyDown?

Hi!

How can I get a binded key’s state with IsInputKeyDown or similar?

Assuming your player is a Character you should add a function:
void AYourCharacter::SetupPlayerInputComponent(class UInputComponent* InputComponent)

in this function you add
InputComponent->BindAction(“YourBinding”, IE_Pressed, this, &AYourCharacter::FunctionToCallOnBindingPressed);

for an axis binding use:
InputComponent->BindAxis(“Axis”, this, &AYourCharacter::AxisInputHandler);

Okay, it’s probably a better idea to use those events than using polling.

Thanks!