From the Super Mario Wiki
They appear in Beanstalk Way, the second stage of Thrillsville. They try to attack Wario by firing electrical blasts of energy at him. Wario can use them to get to higher places by throwing them headfirst onto metal boards, which they stick to for a short time.
Names in other languages