Solved Detect if player closed inventory by pressing ESC.

Discussion in 'Plugin Development' started by Tim_M, Oct 23, 2021.

  1. Offline

    Tim_M

    I'm making a GUI where pressing escape should take you back to the menu you were on previously, how can I detect if the player pressed escape to close the inventory and not something else?
     
  2. Offline

    timtower Administrator Administrator Moderator

  3. Offline

    Tim_M

    well that solves that XD
     

Share This Page