A blueprint node that exposes the "Consume Capture Mouse Down" setting. Fixes mouse double-click or hold issues.
This is a blueprint library with a single node called Set Input Mode Game Only Custom. Typically, using the built-in Set Input Mode Game Only node will override the Default Viewport Mouse Capture Mode setting, and results in buggy behavior with mouse inputs. For example, it takes a double click to register an event that should only take a single click. Or, continuous hold events (like automatic shooting) simply won't work.
The cause of the issue is that the default Set Input Mode Game Only blueprint node defaults the mouse capture mode to Capture Permanently. What we actually want is Capture Permanently Including Initial Mouse Down. There is a setting within the Input Mode Game Only struct called Consume Capture Mouse Down, but it's not exposed to blueprints in the engine. This plugin exposes that setting for you. Simply call Set Input Mode Game Only Custom instead, and leave the setting to false if you're having input issues.
See this blog post for more details.
Number of Blueprints: 0
Number of C++ Classes: 1
Network Replicated: No (input is client-side only)
Supported Development Platforms: Windows 64 and 32 bit
Supported Target Build Platforms: Windows 64 and 32 bit
Documentation: See video