fix doc/**/user-input.md
This commit is contained in:
parent
50a388c539
commit
cba06c18ad
@ -70,7 +70,7 @@ Checks input activity using a code consisting of:
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
```lua
|
```lua
|
||||||
if (input.is_pressed("key:enter") {
|
if input.is_pressed("key:enter") then
|
||||||
...
|
...
|
||||||
}
|
end
|
||||||
```
|
```
|
||||||
|
|||||||
@ -74,7 +74,7 @@ input.is_pressed(code: str) -> bool
|
|||||||
|
|
||||||
Пример:
|
Пример:
|
||||||
```lua
|
```lua
|
||||||
if (input.is_pressed("key:enter") {
|
if input.is_pressed("key:enter") then
|
||||||
...
|
...
|
||||||
}
|
end
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user