# 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.stormmod

StartingExperienceLib.galaxy

// L1214
UISetHotkeyProfile(libCore_gv_playerGroupFromPlayer[lp_player], lv_profile)