Meta_KeyStateGuard
Module: Metanodes / Definitions
A KeyStateGuard prevents script event dispatch unless the key is currently being pressed.
#include <meta_script.hpp>
Public Types
| Type | Name |
|---|---|
| enum | IDX { Idx_KeyCode, Idx_KeyState } Property index. |
Public Types Documentation
enum IDX
| Enumerator | Value | Description |
|---|---|---|
| Idx_KeyCode | int - Key code | |
| Idx_KeyState | bool - Whether the key must be pressed in order to pass |
Property index.