From the Super Mario Wiki
A Spooky is a creature wearing a ghost disguise only found in Super Mario World 2: Yoshi's Island and its remake Yoshi's Island: Super Mario Advance 3. They float near the ground, occasionally "jumping" to briefly gain more altitude, especially when they are nearing the player. If they reach a wall while floating up a slope, they will stop instead of turning around. Yoshi can stand on them and let them carry him. Like Bandits, Spookies are capable of stealing Baby Mario, but to do this, they need to land directly on top of Yoshi.
If Yoshi attempts to eat them or attacks them with a Ground Pound, the disguise will disappear and the enemy under it be revealed. If Baby Mario has been stolen by the Spooky, a Bandit will be under it; otherwise, the enemy will be a green Shy Guy. Oddly enough, a Spooky is one of the few enemies Yoshi cannot defeat by breathing fire.
Names in other languages