Why IsInputKeyDown always return false?

my code: UGameplayStatics::GetPlayerController (GetWorld (), 0)->IsInputKeyDown (EKeys::AnyKey). But it always return false.

I created action mappings but it still not work.