Since you have both renamed the startLidAnimation
function and added that it needs an input for the direction parameter, we need to fix the code the chestScript
- Open chestScript and find the
moveChest
function. - Change
“startLidOpeningAnimationg”
to“startLidAnimation”
. - Add a
,
comma.
Add “open”
to send the direction along.