Returns true just in frame, when action was invoked (button was pressed)
- Заметки
- if the input is limited (click, hold, doubleclick), 'Press' event is limited as well, and reacts to the limiter only! Otherwise it registeres the first event, usually 'press' (change of value from 0)
- Аргументы
-
| action | id of action, defined in 4_World/Classes/UserActionsComponent/_constants.c |
| check_focus | if true and game is unfocused, returns 0; otherwise returns actual value |
- Возвращает
- true if action was invoked in that frame, false otherwise
- См. также
- LocalPress()
Используется в HandleInput().