Why is "was input key just pressed" not working?

Hi. I am am trying to make this UMG script work, but the “was input key just pressed” is not registering when i press my left mouse button.