To animate the lid of the chest, we’ll give it its own separate script.
- Select the Chest-Top object, and open the Entity panel.
- In the Scripting section, click the + icon to create a new script.
To animate the lid of the chest, we’ll give it its own separate script.