How can another actor check if input is pressed?

how can another actor check if input is pressed

kinda like this?

Is it possible for my void to check player input without it being within the player code?

Thanks

It depends on what type of input you want to check. If you want to check if an action binding is pressed i think you have to set a boolean variable on the Pressed and Released event so that you track the state and then use that boolean on the if you mentioned. If you just want to check if a hardcoded key is pressed you can use this.