Cannons are objects that can fire any kind of projectiles. In certain games, they can shoot characters. The most common thing cannons fire are cannonballs and Bob-ombs. Cannons are usually part of the environment and cannot be destroyed.
In Super Mario 64, cannons appear in several courses.
- "Finding a secret exit in a course can lead to a Warp Cannon, where you are blasted from a huge cannon and sprint automatically towards the goal! In order to succeed, all you need to do is time your jumps. Sounds easy, right?"
- ― New Super Mario Bros. 2's Official Site
In the New Super Mario Bros. series, cannons appear. These cannons will shoot you to different worlds, and usually appear in the first few worlds.