Macros

Macros

How can you define custom macros or even define reusable LiaScript libraries?

  • Just use @ followed by a custom name for your macro
  • You can add parameters
  • Shortcut macros, that call others predefined parameters
  • And block-macros

not that difficult

You can use this this example as a basis for your own course by following this link

… Or experiment with it in the LiveEditor below:

Related Posts

Embedding Multimedia and More

How can you embed multimedia content in LiaScript? This post shows you how to embed images, videos, and sounds in your LiaScript courses. You can also embed content from other websites using oEmbed.

Read More

Import A-Frame 3D models, scenes, and more into LiaScript open-courSes

This blog entry presents an example of how to import A-Frame 3D models, scenes, and more into LiaScript open-courSes.

Read More

Install Atom with LiaScript (Deprecated)

This blog entry presents a little workaround and shows how you can still use our two plugins to develop your LiaScript courses offline with the Atom editor.

Read More