Mantis

 Mantis, known as Kamakiri (カマキリ) in Japan, is a bug-like badnik found in the Marble Garden Zone in Sonic the Hedgehog 3. It returns in Sonic the Hedgehog 4: Episode II in Sylvania Castle. Despite its name, this badnik looks and behaves more like a grasshopper than a mantis.

Attack Pattern
Mantis is one of the least deadliest badniks in the game. When the player comes near it, the Mantis simply jumps on the spot. When going at speed, it can jump right over the player, making it very easy to avoid. Mantis behaves the same way in Sonic 4, although it is slightly less predictable.

Sonic 4 Website info
A Grasshopper type robot which was also featured in "MARBLE GARDEN ZONE" in "Sonic 3". Since they can suddenly jump without notice, their moves are unpredictable. Be careful not to bump into them.