Line 19: |
Line 19: |
| |} | | |} |
| | | |
− | == Example == | + | == Example == |
− | <syntaxhighlight>if (needsCursor == true) then | + | <syntaxhighlight>if needsCursor then -- needsCursor would be a variable defined earlier |
| cursor.set("pencil") | | cursor.set("pencil") |
| end</syntaxhighlight> | | end</syntaxhighlight> |
| + | |
| + | == Cursors == |
| + | [[File:Cursors.png|400 px]] |
| + | |
| + | (this images also contains some non-available cursors, but most of them are) |
| | | |
| == See also == | | == See also == |