Studiocode Tutorials | 3.28 Code Window - Hot Key
In this tutorial we will cover hotkeys for code buttons.
When you set a hotkey for a code button you are setting a key on the keyboard that will replace clicking on the button with your mouse. This key on the keyboard will activate and deactivate the button.
To set a hotkey open the inspector for the desired button. In the inspector you see the hockey field here. Then click in the white box next to the word hotkey. The box should turn red and it will say enter hotkey. Now I want my hotkey for offense to be the O key so I'll hit the O key on my keyboard. You see that the letter O is now in the hot key field.
You can show this hockey on the button itself by clicking over to the appearance tab and checking the box next to show hockey. O is now displayed in the button. Now if I close my inspector and go into code mode I'll press the O key you see that the button has been activated. Now when I press the O key again the button is now deactivated and I have an instance in my timeline just like if I click the button twice with my mouse.