Line 20: |
Line 20: |
| | | |
| == 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 == | | == Cursors == |
− | [[File:Cursors.png]] | + | [[File:Cursors.png|400 px]] |
| + | |
| + | (this images also contains some non-available cursors, but most of them are) |
| | | |
| == See also == | | == See also == |