Click.lua

Download click.lua

A small library for the cursor. You can find its coordinates in the scene, find the speed's cursor, or set an image cursor. NOTE: This is currently not finished and subject to change.

Installation
Place the file click.lua into the LuaScriptsLib folder.

How to Use
To enable the click.lua, add this line to lunadll.lua: This will load the API.

Example
This example will: 1) Spawn a goomba where the cursor is placed when the mouse is clicked. 2) Show the cursor for 15 frames when the mouse is clicked. 3) Have the timer near the cursor showing how long until the cursor disappears.