Key Bind proceure triggers even with GUIs open

Status
Fixed
Issue description

Issue:

I came across an issue with key binds where they take priority over other GUIs if you were to make a key bind open a GUI window when for example you press the letter M, it will open regardless if you have another GUI open, this closes the GUI you are in. It is problematic for GUIs that use text fields such as Command Blocks or Structure Blocks that may end up using that key for the GUI.

I have attached an example workspace of the issue described above for easy access to the bug.

Question:

Also, in addition, I was wondering if there is a way to test if an entity (player) has a specific amount of one kind of item in their inventory. I think I asked for this as a feature request a while ago but I am not sure if it's been implemented yet.

Issue comments

Also, in addition, I was wondering if there is a way to test if an entity (player) has a specific amount of one kind of item in their inventory. I think I asked for this as a feature request a while ago but I am not sure if it's been implemented yet.

It is planned, there is a ticket for this, but was not implemented yet.

We try to fix the bug reported in the upcoming updates.

That was quick still can't post XD

Ok, so I made a living entity that can do ranged attacks with a custom projectile from a ranged item. I, when it starts to shoot it, works fine but its when it kills the entity it just does not want to stop shooting. It looks to be at that point in the idle mode so it's maybe a bug? maybe??? (Grins) I will attach the workspace to the attachment area if it lets me if not I will just post a temporary link below this comment.