I Need Help With A Text

So… I’m trying to implement a code, which changes the text to like this:
“Press (a key) to Shop” or something like that…
All I need to know is, how do I convert the keybind into the text…

So it would be like:

Shop.Text = “Press” + Input.GetButton(“DoShopping”) + “To Shop”;

When I tried it just said: “Press FALSE to Shop”…

Be beginner friendly, I just started with unity…

GetButton doesn’t give you the input binding. That function only tells you whether the “Do Shopping” button is pressed or not.

What you want to do sounds pretty simple, but I have never found a way to lookup key bindings from Unity’s built-in input manager.

Alright, thanks for the answer though…¨

Edit: Would it work if it was a custom input manager instead of the built-in one?