is using keyboard/mouse
Details
Kode wheel segment | Controls/Input Methods |
Style | Control |
Modifiers | None |
Primarily WHEN/DO | WHEN |
Pre-made brains that use it | All 3rd person brains (for interact controls display) |
Controls > Input Methods > is using keyboard/mouse
Description
This is a specialised read only boolean that determines whether a player is using a keyboard and/or mouse to input commands. Use this to diversify your controls or display text explaining the controls for each type of controller.
Example Code
WHEN [is using keyboard/mouse] DO [Display][text: Press Enter]
…WHEN [else] DO [Display][text:Press A]
Modifiers
None
Other Uses
Quick tip. Touch and Controller use the same display buttons, so instead of specifying different instructions for all 3 types of controls:
WHEN [is using keyboard or mouse] DO…instructions for keyboard and mouse
…WHEN [else] DO …instructions for controller/touch