Learn Lua

Learn the basics of Lua, a general-purpose programming language used for building games, web apps, and developer tools.

4.44 out of 5 stars
55,890 learners enrolled
  • Skill level

  • Time to complete

    Average based on combined completion rates — individual pacing in lessons, projects, and quizzes may vary
    4 hours
  • Certificate of completion

    Included with paid plans
  • Prerequisites


About this course

Lua is a powerful and intuitive general-purpose programming language used for building games (such as Roblox, World of Warcraft, and Angry Birds), web apps (such as Venmo and Adobe), and developer tools. This course for beginners will teach you the basics of programming with the Lua language while giving you interactive practice building terminal-based programs.


5 lessons • 4 projects • 5 quizzes

The platform

Hands-on learning

Animated GIF of an AI learning assistant explaining an error within Codecademy's learning environment
Mobile-friendly version of a lesson and code editor for the course 'Introduction to HTML' running in Codecademy's learning environment
An AI-generated hint within the instructions of a Codecademy project
Animated GIF of a mouse cursor hovering over the Python term "comment" displaying a Docs tooltip within a Codecademy lesson
Meet the creator of the course
Kenny Lin
Web Development Domain Manager at Codecademy
Kenny is the Domain Manager for the Web Development Domain at Codecademy. He contributed to a wide range of courses and paths at Codecademy, including JavaScript, Bootstrap, Handlebars, Phaser.js, Go, Swift, TypeScript, and Lua.

Learn Lua course ratings and reviews

4.44 out of 5 stars
2,194 ratings
  1. 5 stars
  2. 4 stars
  3. 3 stars
  4. 2 stars
  5. 1 star
  • I thought this course was amazing! I definitely had an amazing time learning how to code in Lua with this course. The steps were easy to follow and specific enough to execute. I had a blast learning.
    Keon C.
    Verified Learner
  • This course was very different from all the other courses I have done. It is the perfect course to learn coding on. I thoroughly enjoyed this course and look forward to future experiences with Codecademy.
    Grant B.
    Verified Learner
  • This course is an amazing start to new coders, and makes real-world activities much more easier.
    Luke G.
    Verified Learner

Our learners work at

  • Google Logo
  • Meta Logo
  • Apple Logo
  • EA Logo
  • Amazon Logo
  • IBM Logo
  • Microsoft Logo
  • Reddit Logo
  • Spotify Logo
  • Uber Logo
  • YouTube Logo
  • Instagram Logo

Join over 50 million learners and start Learn Lua today!

Unlock additional features with a paid plan

  • Practice Projects

    Guided projects that help you solidify the skills and concepts you're learning.
  • Assessments

    Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.
  • Certificate of Completion

    Earn a document to prove you've completed a course or path that you can share with your network.