FModifierKeysState::IsCommandDown

Returns true if either command key was down when this event occurred

Choose your operating system:

Windows

macOS

Linux

References

Module

ApplicationCore

Header

/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericApplication.h

Include

#include "GenericPlatform/GenericApplication.h"

Syntax

bool IsCommandDown() const

Remarks

Returns true if either command key was down when this event occurred

Returns

True if command is pressed