Custom Game Only Input Mode

Pending Kill - 2月 1, 2021

A blueprint node that exposes the "Consume Capture Mouse Down" setting. Fixes mouse double-click or hold issues.

  • サポートされたプラットフォーム
  • サポートされたエンジンバージョン
    4.24 - 4.26
  • ダウンロードのタイプ
    エンジン プラグイン
    この製品には、コード プラグインが含まれており、ビルド済みのバイナリと Unreal Engine に統合される全ソースコードが完備されています。任意のエンジン バージョンにインストールし、プロジェクト毎に有効化することが可能です。


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.



  •  Blueprint node to expose Mouse Capture Mode behavior.

Code Modules:

  •  CustomInputModeGameOnly [Runtime]

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