Let's go further with the gameplay in Babylon.js. The framework provides an
ActionManager class that allows us to manage and execute actions when a trigger is raised by the engine.
For example, imagine a scene with a button. When the button is pushed (left-click), the light(s) in the scene should be turned off, except one. This is only an example. In this chapter, we will cover the following topics:
The Babylon.js framework comes with a collection of distinct actions. You'll find actions that can play a sound, stop a sound, interpolate a property of an object, set a value of ...