Update API Reference
@@ -29,6 +29,7 @@ The following functions are provided by the library:
|
|||||||
|Function|Description|
|
|Function|Description|
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
|s.iskeydown(key)|Keyboard state|
|
|s.iskeydown(key)|Keyboard state|
|
||||||
|
|s.iskeypressed(key)|Is key newly pressed|
|
||||||
|s.rand(min=0, max=1)|Random float|
|
|s.rand(min=0, max=1)|Random float|
|
||||||
|s.randi(min=0, max=1)|Random integer|
|
|s.randi(min=0, max=1)|Random integer|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user