Open Door on overlap

You need to use three functions

A) The overlap to set a bool that you are in range

B) a bind pressed test that will trigger the action if the bool is true

C) overlap end needs to set the bool to false

Why are you using SetupPlayerInputComponent on an actor? You are not overriding any function with it because it is derived from the ACharacter class not the AActor class