How do I make my character initiate a falling animation after running off a ledge or being hit off a ledge?

you must use movement component to access to Isfalling function as well as 3D games as i said before