Home ← TI-Nspire Authoring ← Lua Scripting HQ ← Lua and JavaScript ← Scripting Tutorial - Lesson 12
Lua and JavaScriptScripting Tutorial - Lesson 12: Intro to Mouse Controls
Play with the script in the text box below, and then click the "run your code" button above. |
Click "run your code!" to get started.You can copy and paste the script (or type your own) into the lower text box and then click "run your code!" After that, explore and experiment!If you are using a tablet or smartphone for this lesson, you will find that, sadly, you will be unable to grab and drag the shape as you can if using a computer. Study the script to see how we have worked around this limitation to still give you an experience of controlling the location of the shape using mouse clicks. |
Home ← TI-Nspire Authoring ← Lua Scripting HQ ← Lua and JavaScript ← Scripting Tutorial - Lesson 12