Can't Hold Key Down & Click At Same Time

I am using a laptop, and I was using the character blueprint to detect the key event, I have an input action set up and when the key is pressed it will set a boolean to true, telling that the key is down, and when the key is released the boolean is set to false, My laptop doesn’t ghost when holding down a key and clicking at the same time, Later I’m going to try using the widget to handle the key event like everynone said.