Check which key (action) was pressed [not individually]

Version I’m using: Godot 4.0 stable

Intro to Question:
I know that you can use action_pressed(), is_action_just_pressed(), etc. to check if each individual key is pressed but I’m trying to make the least clutter possible in my movement system.
I’m using get_vector() to see which key is pressed so i can do movement in less lines but in order to animate my character I’d also use a lot of lines based off position from vector.

Question:
I want to know if you could check which action(key) was just pressed.

Rant:
I know it’s kinda dumb since I already know how to do it but I just wanted to know if it was possible since none of the forums had a recent working answer and maybe it could help someone else too.

Anyways, help me godot gods! :DD

You can’t, actions are only “on demand”, the way to check is to use those methods