As a next experiment in using Blender animations in JavaScript was to export two levels of animations that can then be switched between through the inclusion of buttons and call actions. Initially I needed to first learn how to set up multiple levels of animations in Blender, achieved through using the dope sheet and the action editor. I created an animation for the wrapping of the tentacle around the mouth and then another that was the tentacle undulating poised for action. Then in JavaScript this meant setting up the two levels with the animation to play on load of the page referred to as [0] and the other as [1], with a crossfade between the two to give a smooth transition.