Get the key value of an input action

I just want to throw this in here for anyone struggling with the “array length 0” problem when calling “Query Keys Mapped to Action.” If you’re adding the relevant mapping context at the same time (or just before), try putting a delay before calling the “query keys” function.

I’m not savvy enough to know why this is necessary, but I was frustrated with the lack of answers to this problem.