I am having some issues with using Input.GetMouseButton the same time as Input.GetKey...

So what i wanna do is pressing Input.GetKey as the same time as i press Input.GetMouseButton but when they are pressed at the same time Input.GetMouseButton does not work… Please help Thanks :slight_smile:

Idk what you’re doing but what I would do for this is have 2 booleans. When mouse is down bool1 is true. when key is down, bool2 is true. Then do action when both are true.

The problem is that when i am pressing the key i am not able to do anything with Input.GetMouseButton