Esx_phone closing phone key

Already a half of the day im fighting with esx_phone…
I’m trying to make a key for closing the phone ( to make it more user friendly)
Damn im try everything and is not working ///
Can someone help me with it.
git esx_phone

ESC key or F9?

1 Like

No no no way i was looking in fiveM doc …
I didn’t even think Javascript Key Codes …
Thank you very much ZerefGG
damn im fool////