How to work with android buttons

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Simemetti

My question is what is the best way to work with android buttons.
I mean the back, home and open tabs button.
The way my game works I would like to have them to always be displayed and especially to remove their “box” from the screen size so no game elements are hidden below them.

I know it’s a very general and vague question but I don’t have a single specific problem I would just like to know how people in my situation handled it

:bust_in_silhouette: Reply From: yrtv

You can’t do it directly for now see:

Proposal exists here: Treat Android hardware keys (such as the Back button) as InputEvents · Issue #654 · godotengine/godot-proposals · GitHub