love.keyboard.isModifierActive
Available since LÖVE 12.0 |
This function is not supported in earlier versions. |
Checks whether a modifier key is active.
Example of modifier keys are caps lock, num lock, and scroll lock while also have press/release state, additionally also have active state.
Function
Synopsis
active = love.keyboard.isModifierActive( modifier )
Arguments
ModifierKey modifier
- Modifier key to check.
Returns
boolean active
- Wheter the specified modifier key is active or not.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info