From the Super Mario Wiki
Retrieved from "https://www.mariowiki.com/index.php?title=Leaf_Veil&oldid=2259584"
Ninja begins the shot by bouncing the ball to his left, then in a high arc to his right. The ball glows white throughout this part. Ninja returns the ball to the center and creates a purple energy disk. Four blue flames appear on the disk and surround the ball. Ninja shoots the now-blue ball toward the basket, disappears in a flash of leaves, and then reappears near the ball and slams it into the basket.
If shot outside the 3-point line, instead of Ninja, a teammate needs to complete the dunk.