Is there a way to make a procedure where a custom flying animation plays when the mob isn't touching the ground/flying?
A screenshot of visual scripting blocks in MCreator, a modding tool for Minecraft. The logic flow uses an event trigger and conditional statements to determine if a mob is on the ground.