how to open gui within a radius.

how would I go about making a Gui open with the E key only within a radius around an object?
I have not seen much of anything on this subject so any help is appreciated also I’m coding in C#.

Hi @krisfire. Questions like this one where you supply a recipe for what you want but don’t show any coding effort are generally rejected in the moderation queue or closed. Take a look at the following:

  • Input.GetKeyDown()
  • Vector3.Distance()
  • GUI class