Prevent Mouse Consumption when Left Clicking

Does anyone know of a method or way to prevent the game from consuming my mouse cursor while left clicking? I have the cursor shown as visible at all times for my top-down shooter but when shooting (clicking in a direction), the engine consumes my cursor and I’m no longer able to move it while holding left click. Ideally I would like to be able to hold left click to continuously fire my weapon and move the cursor at the same time to aim. I’ve attempted setting various game input settings but nothing seems to be working for me.

The thing is that the described desired behaviour is the default behaviour. A better question here is: how are you hiding cursor / consuming clicks? Input Mode shenanigans, mayhap? As in:

This should be enough in most circumstances.


When it comes to input consumption (which may have nothing to do with cursor disappearing), it can be achieved in a couple of ways. If you’re using the legacy system, select the node and disable input consumption. For enhanced input, the setting is inside the input action; but again, it is already set to not consume input by default…

Okay, awesome. Thank you for the clarification. I was being lazy initially and was combining direct input key events and the newer Enhanced Input Action system, after changing where I was calling the direct input key events into Input Actions it’s now behaving properly. Really appreciate the clarification on how the system works and what the default operation is, thanks!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.