# Player Hotkey Profile

Grammar — Get the hotkey profile for player p
FlagsNative | Function

Currently this only provides their initial hotkey profile when the game starts.

# Arguments

  • int — Player

Returns — string

native string PlayerGetHotkeyProfile(int inPlayer);

Category: Player / Player Settings

# Examples

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/StartingExperienceLib.galaxy:1222


    // Implementation
    auto000E9E93_val = PlayerGetHotkeyProfile(lp_player);
    if (auto000E9E93_val == libStEx_gv_sEC_HotkeyProfile_LeftClick) {
        libStEx_gv_sE_MoveMouseButton = libStEx_ge_MouseButton_LeftButton;