# Set Hot Key Profile

Grammar — Sets the hotkey profile to profileName for local participants in the players group, if they aren’t using a custom profile.
FlagsNative | Action | Restricted

Sets a players hotkey profile, so long as they aren’t using a custom profile.

# Arguments

  • playergroup — Players
  • string — Profile Name

Returns — void

native void UISetHotkeyProfile(
	playergroup players,
	string profileName,
);

Category: UI / Game UI

# Examples

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

        lv_profile = libStEx_gv_sEC_HotkeyProfile_RightClick;
    }
    UISetHotkeyProfile(libCore_gv_playerGroupFromPlayer[lp_player], lv_profile);
}