Just like with the chest lid, we need a function that starts the whole chest’s animation.
- Use the get method to find the Entity associated with the EntityRef
- Use an if-statement to check that Entity isn’t null
- Send an event to the chest with an input of the name of the function to you created in the last challenge.
Remember to look at your ChestScript to see how you have done something similar before.