Unreal Engine Cmd console variable.
wp.Runtime.ToggleDrawLegends
Execute via the console (~). This is a command, not a variable.