How do you know the location of the key is pressed

how do you know the location of the key is pressed

can you be more specific? keys are usually pressed in peripherals, out of the computer, so you can’t get their locations… if what you mean is “how can i get when the player was when he pressed the key?” you can use “get player pawn” and “get actor location” when the key event is fired…

Further more without knowing entirely what OP means, you can also use either Input in the project settings to determine what key the user is pressing using events, or you can get a direct key event in the BP Editor.

and i have not a “get actor location” I have a “get actor array average location”
and this right?

(for veccher)

thanks for hiiii5 and veccher