Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


actionKey

Gets a boolean value that indicates whether the platform-specific action key is pressed. True means the action key is pressed. False means it isn't.
Read time 1 minuteLast updated 4 days ago

Definition

public bool actionKey { get; }

Remarks

The platform-specific action key is Cmd on macOS, and Ctrl on all other platforms.